aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2008-10-04 06:05:32 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-10-04 06:05:32 +0800
commitff5e0b312d04daf97b35616b55280ae7f2d17cf7 (patch)
tree565cde742a17ea52619e93b513824b9e773bd761 /shell/e-shell-window.c
parent253e90b8de63d9c064a0df05cf0e2e153f913474 (diff)
downloadgsoc2013-evolution-ff5e0b312d04daf97b35616b55280ae7f2d17cf7.tar
gsoc2013-evolution-ff5e0b312d04daf97b35616b55280ae7f2d17cf7.tar.gz
gsoc2013-evolution-ff5e0b312d04daf97b35616b55280ae7f2d17cf7.tar.bz2
gsoc2013-evolution-ff5e0b312d04daf97b35616b55280ae7f2d17cf7.tar.lz
gsoc2013-evolution-ff5e0b312d04daf97b35616b55280ae7f2d17cf7.tar.xz
gsoc2013-evolution-ff5e0b312d04daf97b35616b55280ae7f2d17cf7.tar.zst
gsoc2013-evolution-ff5e0b312d04daf97b35616b55280ae7f2d17cf7.zip
Finally fix the stupid shell view bootstrapping issue.
svn path=/branches/kill-bonobo/; revision=36553
Diffstat (limited to 'shell/e-shell-window.c')
-rw-r--r--shell/e-shell-window.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index 5b54b38396..427e1311a0 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -283,6 +283,8 @@ shell_window_init (EShellWindow *shell_window)
shell_window->priv = E_SHELL_WINDOW_GET_PRIVATE (shell_window);
+ gtk_window_set_title (GTK_WINDOW (shell_window), _("Evolution"));
+
e_shell_window_private_init (shell_window);
ui_manager = e_shell_window_get_ui_manager (shell_window);
@@ -598,15 +600,7 @@ e_shell_window_set_active_view (EShellWindow *shell_window,
g_return_if_fail (shell_view != NULL);
action = e_shell_view_get_action (shell_view);
-
- /* XXX Radio actions refuse to activate if they're already active.
- * This causes problems during intialization if we're trying to
- * switch to the shell view whose corresponding radio action is
- * already active. This works around the problem. */
- if (gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)))
- e_shell_window_switch_to_view (shell_window, view_name);
- else
- gtk_action_activate (action);
+ gtk_action_activate (action);
}
/**