aboutsummaryrefslogtreecommitdiffstats
path: root/modules
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 /modules
parent700e263817c36ccf88a6de523326d2f1bc1b4003 (diff)
downloadgsoc2013-evolution-c36bd27fa84fec81ad40032c0dce07051d73f04c.tar.gz
gsoc2013-evolution-c36bd27fa84fec81ad40032c0dce07051d73f04c.tar.zst
gsoc2013-evolution-c36bd27fa84fec81ad40032c0dce07051d73f04c.zip
Bug #634403 - Mails Label popup menu is not updated properly
Diffstat (limited to 'modules')
-rw-r--r--modules/mail/e-mail-shell-view-actions.c1
-rw-r--r--modules/mail/e-mail-shell-view.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c
index 04f8dcb480..1342e8aa11 100644
--- a/modules/mail/e-mail-shell-view-actions.c
+++ b/modules/mail/e-mail-shell-view-actions.c
@@ -1819,6 +1819,7 @@ e_mail_shell_view_update_popup_labels (EMailShellView *mail_shell_view)
/* Unmerge the previous menu items. */
gtk_ui_manager_remove_ui (ui_manager, merge_id);
e_action_group_remove_all_actions (action_group);
+ gtk_ui_manager_ensure_update (ui_manager);
mail_shell_content = mail_shell_view->priv->mail_shell_content;
mail_view = e_mail_shell_content_get_mail_view (mail_shell_content);
diff --git a/modules/mail/e-mail-shell-view.c b/modules/mail/e-mail-shell-view.c
index ed6343779b..1754fbb955 100644
--- a/modules/mail/e-mail-shell-view.c
+++ b/modules/mail/e-mail-shell-view.c
@@ -193,6 +193,7 @@ mail_shell_view_toggled (EShellView *shell_view)
ui_manager, priv->merge_id);
} else if (!view_is_active && priv->merge_id != 0) {
gtk_ui_manager_remove_ui (ui_manager, priv->merge_id);
+ gtk_ui_manager_ensure_update (ui_manager);
priv->merge_id = 0;
}