From d73a224db5f16a1abe6fd8ceda5053b3c0ebe120 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 16 Feb 2010 13:29:46 -0500 Subject: 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. --- shell/e-shell-window-private.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'shell') 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"); -- cgit v1.2.3