[evolution/webkit] Update actions in EMailBrowser on message select too



commit 919ac83d8d99b2c18e0add4cbe86a650fec66e08
Author: Milan Crha <mcrha redhat com>
Date:   Tue Nov 30 08:38:24 2010 +0100

    Update actions in EMailBrowser on message select too

 mail/e-mail-browser.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/mail/e-mail-browser.c b/mail/e-mail-browser.c
index 72afe77..0665cce 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]