aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-12-02 13:57:44 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-12-02 13:57:44 +0800
commit38a616e8b77cbe8bce87c97e66f7b542eda24235 (patch)
tree1d3bf356f3b77137fbf568cbebf025cd4fae566c /shell/e-shell.h
parentf1825606e64f59f1c3af2310f16a543f2df5c0d4 (diff)
downloadgsoc2013-evolution-38a616e8b77cbe8bce87c97e66f7b542eda24235.tar.gz
gsoc2013-evolution-38a616e8b77cbe8bce87c97e66f7b542eda24235.tar.zst
gsoc2013-evolution-38a616e8b77cbe8bce87c97e66f7b542eda24235.zip
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, ...);
Diffstat (limited to 'shell/e-shell.h')
-rw-r--r--shell/e-shell.h1
1 files changed, 1 insertions, 0 deletions
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);