diff options
Diffstat (limited to 'shell/e-shell-window.c')
-rw-r--r-- | shell/e-shell-window.c | 12 |
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); } /** |