diff options
author | Srinivasa Ragavan <sragavan@gnome.org> | 2010-04-22 19:57:20 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@gnome.org> | 2010-04-22 19:57:20 +0800 |
commit | a650f15f0090d68a503b5b11561bfb3cdb4663dc (patch) | |
tree | 9485cefe48dbc82b8e2fe0b6aa0d2b5069481923 /plugins | |
parent | ae650132caebf75728020f95fd48c7cb9c32c047 (diff) | |
download | gsoc2013-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.c | 8 |
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); |