diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-12-02 13:57:44 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-12-02 13:57:44 +0800 |
commit | 38a616e8b77cbe8bce87c97e66f7b542eda24235 (patch) | |
tree | 1d3bf356f3b77137fbf568cbebf025cd4fae566c /shell/main.c | |
parent | f1825606e64f59f1c3af2310f16a543f2df5c0d4 (diff) | |
download | gsoc2013-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/main.c')
-rw-r--r-- | shell/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/main.c b/shell/main.c index 7a09f60d12..c1a4e5decf 100644 --- a/shell/main.c +++ b/shell/main.c @@ -435,6 +435,7 @@ create_default_shell (void) E_TYPE_SHELL, "name", "org.gnome.Evolution", "geometry", geometry, + "module-directory", EVOLUTION_MODULEDIR, "online", online, NULL); |