aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-window-actions.c')
-rw-r--r--shell/e-shell-window-actions.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c
index 7a091a1c49..c2c5aea1af 100644
--- a/shell/e-shell-window-actions.c
+++ b/shell/e-shell-window-actions.c
@@ -2216,7 +2216,6 @@ e_shell_window_create_switcher_actions (EShellWindow *shell_window)
gtk_action_group_add_action_with_accel (
s_action_group, GTK_ACTION (s_action), accelerator);
- e_shell_switcher_add_action (switcher, GTK_ACTION (s_action));
g_free (accelerator);
@@ -2237,6 +2236,8 @@ e_shell_window_create_switcher_actions (EShellWindow *shell_window)
shell_window);
gtk_action_group_add_action (n_action_group, n_action);
+ e_shell_switcher_add_action (switcher, GTK_ACTION (s_action), n_action);
+
g_free (n_action_name);
g_free (tooltip);