aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@gnome.org>2010-04-22 19:57:20 +0800
committerSrinivasa Ragavan <sragavan@gnome.org>2010-04-22 19:57:20 +0800
commita650f15f0090d68a503b5b11561bfb3cdb4663dc (patch)
tree9485cefe48dbc82b8e2fe0b6aa0d2b5069481923 /plugins
parentae650132caebf75728020f95fd48c7cb9c32c047 (diff)
downloadgsoc2013-evolution-a650f15f0090d68a503b5b11561bfb3cdb4663dc.tar
gsoc2013-evolution-a650f15f0090d68a503b5b11561bfb3cdb4663dc.tar.gz
gsoc2013-evolution-a650f15f0090d68a503b5b11561bfb3cdb4663dc.tar.bz2
gsoc2013-evolution-a650f15f0090d68a503b5b11561bfb3cdb4663dc.tar.lz
gsoc2013-evolution-a650f15f0090d68a503b5b11561bfb3cdb4663dc.tar.xz
gsoc2013-evolution-a650f15f0090d68a503b5b11561bfb3cdb4663dc.tar.zst
gsoc2013-evolution-a650f15f0090d68a503b5b11561bfb3cdb4663dc.zip
Store the initial view request and use that to decide whether to show
startup wizard or not. Show only for mail and not calendar.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/startup-wizard/startup-wizard.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/startup-wizard/startup-wizard.c b/plugins/startup-wizard/startup-wizard.c
index a38b2d9e9a..97d2297480 100644
--- a/plugins/startup-wizard/startup-wizard.c
+++ b/plugins/startup-wizard/startup-wizard.c
@@ -66,7 +66,15 @@ startup_wizard (EPlugin *ep, ESEventTargetUpgrade *target)
GSList *accounts;
EConfig *config;
EMAccountEditor *emae;
+ char *req_view;
+ req_view = e_shell_get_startup_view(e_shell_get_default());
+
+ if (req_view && strcmp (req_view, "mail") && e_shell_get_express_mode(e_shell_get_default())) {
+ return;
+ }
+
+
client = gconf_client_get_default ();
accounts = gconf_client_get_list (client, "/apps/evolution/mail/accounts", GCONF_VALUE_STRING, NULL);
g_object_unref (client);