aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/em-account-prefs.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@gnome.org>2010-03-01 20:16:33 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-03-14 09:49:49 +0800
commita952896b27334756b349c1f6f25db6b2021aab4f (patch)
treed0f1ca424720df35b9e98c5769f23701b40df548 /modules/mail/em-account-prefs.c
parentd5da1afafcbd29f9479043b4f418e02c033af53d (diff)
downloadgsoc2013-evolution-a952896b27334756b349c1f6f25db6b2021aab4f.tar.gz
gsoc2013-evolution-a952896b27334756b349c1f6f25db6b2021aab4f.tar.zst
gsoc2013-evolution-a952896b27334756b349c1f6f25db6b2021aab4f.zip
Integrate into new account button.
Diffstat (limited to 'modules/mail/em-account-prefs.c')
-rw-r--r--modules/mail/em-account-prefs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/mail/em-account-prefs.c b/modules/mail/em-account-prefs.c
index ac58ea421d..13ede1f867 100644
--- a/modules/mail/em-account-prefs.c
+++ b/modules/mail/em-account-prefs.c
@@ -39,6 +39,7 @@
#include "e-mail-store.h"
#include "em-config.h"
#include "em-account-editor.h"
+#include "capplet/mail-capplet-shell.h"
#define EM_ACCOUNT_PREFS_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
@@ -111,7 +112,7 @@ account_prefs_add_account (EAccountManager *manager)
parent = gtk_widget_get_toplevel (GTK_WIDGET (manager));
parent = gtk_widget_is_toplevel (parent) ? parent : NULL;
-
+#if 0
/** @HookPoint-EMConfig: New Mail Account Assistant
* @Id: org.gnome.evolution.mail.config.accountAssistant
* @Type: E_CONFIG_ASSISTANT
@@ -124,6 +125,8 @@ account_prefs_add_account (EAccountManager *manager)
NULL, EMAE_ASSISTANT,
"org.gnome.evolution.mail.config.accountAssistant");
priv->assistant = emae->editor;
+#endif
+ priv->assistant = mail_capplet_shell_new (0, TRUE, FALSE);
g_object_add_weak_pointer (G_OBJECT (priv->assistant), &priv->assistant);
gtk_window_set_transient_for (GTK_WINDOW (priv->assistant), parent);