aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-browser.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-07-12 23:26:47 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-07-12 23:26:47 +0800
commit78bf9d9d708dd255cc0966d64112aba56a4b2544 (patch)
tree99005ed153514c35d47a86482cad28b024c7ee50 /mail/e-mail-browser.c
parenteb29179da623f9cf4abd663577395a085452ca18 (diff)
downloadgsoc2013-evolution-78bf9d9d708dd255cc0966d64112aba56a4b2544.tar.gz
gsoc2013-evolution-78bf9d9d708dd255cc0966d64112aba56a4b2544.tar.zst
gsoc2013-evolution-78bf9d9d708dd255cc0966d64112aba56a4b2544.zip
Bug 624128 - Folder -> Subscriptions is always enabled
Diffstat (limited to 'mail/e-mail-browser.c')
-rw-r--r--mail/e-mail-browser.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/e-mail-browser.c b/mail/e-mail-browser.c
index 062623124d..86cc929182 100644
--- a/mail/e-mail-browser.c
+++ b/mail/e-mail-browser.c
@@ -295,6 +295,7 @@ mail_browser_popup_event_cb (EMailBrowser *browser,
{
EMailReader *reader;
GtkMenu *menu;
+ guint32 state;
if (uri != NULL)
return FALSE;
@@ -302,7 +303,8 @@ mail_browser_popup_event_cb (EMailBrowser *browser,
reader = E_MAIL_READER (browser);
menu = e_mail_reader_get_popup_menu (reader);
- e_mail_reader_update_actions (reader);
+ state = e_mail_reader_check_state (reader);
+ e_mail_reader_update_actions (reader, state);
if (event == NULL)
gtk_menu_popup (