aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-01-22 12:11:14 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-01-22 12:11:14 +0800
commitc223f52d1d70d9662b4110bdb6a5426213fd6a51 (patch)
treecee14acf38cac3bb3c01907aba8571d741b94f57 /mail/component-factory.c
parent05601a3f73ccbe8671c17cda07391b066ae52761 (diff)
downloadgsoc2013-evolution-c223f52d1d70d9662b4110bdb6a5426213fd6a51.tar
gsoc2013-evolution-c223f52d1d70d9662b4110bdb6a5426213fd6a51.tar.gz
gsoc2013-evolution-c223f52d1d70d9662b4110bdb6a5426213fd6a51.tar.bz2
gsoc2013-evolution-c223f52d1d70d9662b4110bdb6a5426213fd6a51.tar.lz
gsoc2013-evolution-c223f52d1d70d9662b4110bdb6a5426213fd6a51.tar.xz
gsoc2013-evolution-c223f52d1d70d9662b4110bdb6a5426213fd6a51.tar.zst
gsoc2013-evolution-c223f52d1d70d9662b4110bdb6a5426213fd6a51.zip
Initialize OpenPGP.
2001-01-21 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (owner_set_cb): Initialize OpenPGP. * openpgp-utils.c (openpgp_init): No longer takes a passphrase callback, we'll just use the mail-session one. Makes life simpler. (pgp_get_passphrase): Use mail_session_request_dialog(). svn path=/trunk/; revision=7694
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index a88d303215..438f9e61a5 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -40,6 +40,7 @@
#include "mail-ops.h"
#include "mail-local.h"
#include "mail-session.h"
+#include "openpgp-utils.h"
#include <gal/widgets/e-gui-utils.h>
#include "component-factory.h"
@@ -180,7 +181,9 @@ owner_set_cb (EvolutionShellComponent *shell_component,
evolution_dir = g_strdup (evolution_homedir);
mail_session_init ();
mail_config_init ();
-
+
+ openpgp_init (mail_config_get_pgp_path (), mail_config_get_pgp_type ());
+
storages_hash = g_hash_table_new (NULL, NULL);
create_vfolder_storage (shell_component);