aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-browser.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-11-30 15:38:24 +0800
committerMilan Crha <mcrha@redhat.com>2010-11-30 15:38:24 +0800
commit9f9eb9b0a2e1a1a3b10d489c7b24ba0b8ab7b12f (patch)
tree96508b598ea160db493dd300ecfd17f06b31d3c9 /mail/e-mail-browser.c
parentce02a16bd15a1911038d31861b788d38025e2e65 (diff)
downloadgsoc2013-evolution-9f9eb9b0a2e1a1a3b10d489c7b24ba0b8ab7b12f.tar.gz
gsoc2013-evolution-9f9eb9b0a2e1a1a3b10d489c7b24ba0b8ab7b12f.tar.zst
gsoc2013-evolution-9f9eb9b0a2e1a1a3b10d489c7b24ba0b8ab7b12f.zip
Update actions in EMailBrowser on message select too
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 72afe77318..0665ccec11 100644
--- a/mail/e-mail-browser.c
+++ b/mail/e-mail-browser.c
@@ -269,10 +269,12 @@ mail_browser_message_selected_cb (EMailBrowser *browser,
EWebView *web_view;
const gchar *title;
+ reader = E_MAIL_READER (browser);
+ e_mail_reader_update_actions (reader, e_mail_reader_check_state (reader));
+
if (uid == NULL)
return;
- reader = E_MAIL_READER (browser);
folder = e_mail_reader_get_folder (reader);
formatter = e_mail_reader_get_formatter (reader);
web_view = em_format_html_get_web_view (formatter);