From 38a616e8b77cbe8bce87c97e66f7b542eda24235 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 2 Dec 2009 00:57:44 -0500 Subject: Add an EShell:module-directory constructor property. This tells EShell where to look for EModules. Best practice is to define the directory in your CPPFLAGS and then pass it to EShell at instantiation time, like so: Makefile.am: evolution_CPPFLAGS = \ -DMODULEDIR=\""$(moduledir)"\" ... main.c: shell = g_object_new ( E_TYPE_SHELL, "module-directory", MODULEDIR, ...); --- shell/e-shell.h | 1 + 1 file changed, 1 insertion(+) (limited to 'shell/e-shell.h') diff --git a/shell/e-shell.h b/shell/e-shell.h index 7d1904a828..1a324806a2 100644 --- a/shell/e-shell.h +++ b/shell/e-shell.h @@ -114,6 +114,7 @@ GList * e_shell_get_watched_windows (EShell *shell); GtkWindow * e_shell_get_active_window (EShell *shell); void e_shell_send_receive (EShell *shell, GtkWindow *parent); +const gchar * e_shell_get_module_directory (EShell *shell); gboolean e_shell_get_network_available (EShell *shell); void e_shell_set_network_available (EShell *shell, gboolean network_available); -- cgit