[evolution] Fix crash when opening message window.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Fix crash when opening message window.
- Date: Sun, 22 May 2011 01:36:02 +0000 (UTC)
commit d44105562d14887773419f8d07ce26be34073b9e
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat May 21 21:35:10 2011 -0400
Fix crash when opening message window.
Would help if I actually did what the comment said...
mail/e-mail-browser.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mail/e-mail-browser.c b/mail/e-mail-browser.c
index 2179522..3678092 100644
--- a/mail/e-mail-browser.c
+++ b/mail/e-mail-browser.c
@@ -599,8 +599,6 @@ mail_browser_constructed (GObject *object)
/* Add action groups before initializing the reader interface. */
- e_mail_reader_init (reader, TRUE, TRUE);
-
action_group = gtk_action_group_new (ACTION_GROUP_STANDARD);
gtk_action_group_set_translation_domain (action_group, domain);
gtk_action_group_add_actions (
@@ -625,6 +623,8 @@ mail_browser_constructed (GObject *object)
object, ACTION_GROUP_SEARCH_FOLDERS,
action_group, (GDestroyNotify) g_object_unref);
+ e_mail_reader_init (reader, TRUE, TRUE);
+
e_ui_manager_add_ui_from_file (
E_UI_MANAGER (ui_manager), E_MAIL_READER_UI_DEFINITION);
e_ui_manager_add_ui_from_string (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]