aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-01-15 12:48:27 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-01-15 12:48:27 +0800
commitc2fbc7463302ffdf5e5ad915ab8f89d5e3086209 (patch)
tree711ccc9e0c7c9a5a5532f6700981b814bb5a81df /addressbook/gui
parent2e3a3cf26e4d1894707703b15340529b8874466c (diff)
downloadgsoc2013-evolution-c2fbc7463302ffdf5e5ad915ab8f89d5e3086209.tar
gsoc2013-evolution-c2fbc7463302ffdf5e5ad915ab8f89d5e3086209.tar.gz
gsoc2013-evolution-c2fbc7463302ffdf5e5ad915ab8f89d5e3086209.tar.bz2
gsoc2013-evolution-c2fbc7463302ffdf5e5ad915ab8f89d5e3086209.tar.lz
gsoc2013-evolution-c2fbc7463302ffdf5e5ad915ab8f89d5e3086209.tar.xz
gsoc2013-evolution-c2fbc7463302ffdf5e5ad915ab8f89d5e3086209.tar.zst
gsoc2013-evolution-c2fbc7463302ffdf5e5ad915ab8f89d5e3086209.zip
Activate S/MIME support and add the "Certificates" section to preferences.
... But why is this initialized from the address book? Seems arbitrary. svn path=/branches/kill-bonobo/; revision=37076
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/e-book-shell-module.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/addressbook/gui/component/e-book-shell-module.c b/addressbook/gui/component/e-book-shell-module.c
index 0e48f06858..b538c59559 100644
--- a/addressbook/gui/component/e-book-shell-module.c
+++ b/addressbook/gui/component/e-book-shell-module.c
@@ -19,6 +19,8 @@
*
*/
+#include <config.h>
+
#include <string.h>
#include <glib/gi18n.h>
#include <libebook/e-book.h>
@@ -44,6 +46,11 @@
#include "e-book-shell-view.h"
#include "e-book-shell-module-migrate.h"
+#ifdef ENABLE_SMIME
+#include "smime/gui/component.h"
+#include "smime/gui/certificate-manager.h"
+#endif
+
#define MODULE_NAME "addressbook"
#define MODULE_ALIASES "contacts"
#define MODULE_SCHEMES ""
@@ -433,6 +440,13 @@ e_shell_module_init (GTypeModule *type_module)
shell_module, &module_info,
e_book_shell_view_get_type (type_module));
+ /* XXX Why is this here? Address books aren't the only
+ * things that use S/MIME. Maybe put it in EShell? */
+#ifdef ENABLE_SMIME
+ smime_component_init ();
+ certificate_manager_config_init ();
+#endif
+
book_shell_module_init_importers ();
book_shell_module_ensure_sources (shell_module);