[evolution] Use "mail" as the fallback shell view when starting up.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Use "mail" as the fallback shell view when starting up.
- Date: Tue, 16 Feb 2010 18:31:08 +0000 (UTC)
commit d73a224db5f16a1abe6fd8ceda5053b3c0ebe120
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Feb 16 13:29:46 2010 -0500
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 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/shell/e-shell-window-private.c b/shell/e-shell-window-private.c
index a2805f4..4a11395 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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]