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 /shell/main.c | |
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 'shell/main.c')
-rw-r--r-- | shell/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/main.c b/shell/main.c index 5a9855b402..e327065f43 100644 --- a/shell/main.c +++ b/shell/main.c @@ -576,6 +576,11 @@ main (gint argc, gchar **argv) e_plugin_load_plugins (); } + if (requested_view) + e_shell_set_startup_view(shell, requested_view); + else if (express_mode) + e_shell_set_startup_view(shell, "mail"); + /* Attempt migration -after- loading all modules and plugins, * as both shell backends and certain plugins hook into this. */ e_shell_migrate_attempt (shell); |