diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-02-17 02:29:46 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-02-17 02:29:46 +0800 |
commit | d73a224db5f16a1abe6fd8ceda5053b3c0ebe120 (patch) | |
tree | c3087bbb43c588eac8aadd402e5dfc4116837c27 /shell/e-shell-window-private.c | |
parent | 3b5864586c84a612397840b7be4aff3b1d985a4d (diff) | |
download | gsoc2013-evolution-d73a224db5f16a1abe6fd8ceda5053b3c0ebe120.tar.gz gsoc2013-evolution-d73a224db5f16a1abe6fd8ceda5053b3c0ebe120.tar.zst gsoc2013-evolution-d73a224db5f16a1abe6fd8ceda5053b3c0ebe120.zip |
Use "mail" as the fallback shell view when starting up.
This kind of violates the shell window being unaware of specific shell
views, but we need a sane fallback so users don't get an empty window.
Diffstat (limited to 'shell/e-shell-window-private.c')
-rw-r--r-- | shell/e-shell-window-private.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c index a2805f46bf..4a11395e09 100644 --- a/shell/e-shell-window-private.c +++ b/shell/e-shell-window-private.c @@ -232,9 +232,12 @@ e_shell_window_private_init (EShellWindow *shell_window) priv->ui_manager = gtk_ui_manager_new (); priv->loaded_views = loaded_views; - priv->active_view = "unknown"; priv->signal_handler_ids = signal_handler_ids; + /* XXX This kind of violates the shell window being unaware + * of specific shell views, but we need a sane fallback. */ + priv->active_view = "mail"; + e_shell_window_add_action_group (shell_window, "shell"); e_shell_window_add_action_group (shell_window, "gal-view"); e_shell_window_add_action_group (shell_window, "new-item"); |