diff options
author | Milan Crha <mcrha@redhat.com> | 2011-01-19 21:56:35 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-01-19 21:56:35 +0800 |
commit | 3cce94edcbd2c0969e72bdb53dfeefe4d76551f0 (patch) | |
tree | 0f93a971763ac65299502b36794ce7b1afa13fb0 /shell | |
parent | a5bbb0c3a2bcd06cdb3c67082d2971681de5ca43 (diff) | |
download | gsoc2013-evolution-3cce94edcbd2c0969e72bdb53dfeefe4d76551f0.tar gsoc2013-evolution-3cce94edcbd2c0969e72bdb53dfeefe4d76551f0.tar.gz gsoc2013-evolution-3cce94edcbd2c0969e72bdb53dfeefe4d76551f0.tar.bz2 gsoc2013-evolution-3cce94edcbd2c0969e72bdb53dfeefe4d76551f0.tar.lz gsoc2013-evolution-3cce94edcbd2c0969e72bdb53dfeefe4d76551f0.tar.xz gsoc2013-evolution-3cce94edcbd2c0969e72bdb53dfeefe4d76551f0.tar.zst gsoc2013-evolution-3cce94edcbd2c0969e72bdb53dfeefe4d76551f0.zip |
Bug #634403 - Mails Label popup menu is not updated properly
Diffstat (limited to 'shell')
-rw-r--r-- | shell/e-shell-view.c | 1 | ||||
-rw-r--r-- | shell/e-shell-window-actions.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index fafab518aa..cb682b7814 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -730,6 +730,7 @@ shell_view_toggled (EShellView *shell_view) } else if (!view_is_active && priv->merge_id != 0) { e_plugin_ui_disable_manager (ui_manager, id); gtk_ui_manager_remove_ui (ui_manager, priv->merge_id); + gtk_ui_manager_ensure_update (ui_manager); priv->merge_id = 0; } 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) { |