aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-actions.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-01-19 21:56:35 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:20 +0800
commitc36bd27fa84fec81ad40032c0dce07051d73f04c (patch)
tree84cbf2174be4294072e32b98ec8d3c5cbb6f4d05 /shell/e-shell-window-actions.c
parent700e263817c36ccf88a6de523326d2f1bc1b4003 (diff)
downloadgsoc2013-evolution-c36bd27fa84fec81ad40032c0dce07051d73f04c.tar
gsoc2013-evolution-c36bd27fa84fec81ad40032c0dce07051d73f04c.tar.gz
gsoc2013-evolution-c36bd27fa84fec81ad40032c0dce07051d73f04c.tar.bz2
gsoc2013-evolution-c36bd27fa84fec81ad40032c0dce07051d73f04c.tar.lz
gsoc2013-evolution-c36bd27fa84fec81ad40032c0dce07051d73f04c.tar.xz
gsoc2013-evolution-c36bd27fa84fec81ad40032c0dce07051d73f04c.tar.zst
gsoc2013-evolution-c36bd27fa84fec81ad40032c0dce07051d73f04c.zip
Bug #634403 - Mails Label popup menu is not updated properly
Diffstat (limited to 'shell/e-shell-window-actions.c')
-rw-r--r--shell/e-shell-window-actions.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c
index 949183133d..6547ba6d76 100644
--- a/shell/e-shell-window-actions.c
+++ b/shell/e-shell-window-actions.c
@@ -2252,6 +2252,7 @@ e_shell_window_update_view_menu (EShellWindow *shell_window)
/* Unmerge the previous menu. */
gtk_ui_manager_remove_ui (ui_manager, merge_id);
e_action_group_remove_all_actions (action_group);
+ gtk_ui_manager_ensure_update (ui_manager);
/* We have a view ID, so forge ahead. */
count = gal_view_collection_get_count (view_collection);
@@ -2362,6 +2363,7 @@ e_shell_window_update_search_menu (EShellWindow *shell_window)
/* Unmerge the previous menu. */
gtk_ui_manager_remove_ui (ui_manager, merge_id);
e_action_group_remove_all_actions (action_group);
+ gtk_ui_manager_ensure_update (ui_manager);
rule = e_rule_context_next_rule (context, NULL, source);
while (rule != NULL) {