From d44105562d14887773419f8d07ce26be34073b9e Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 21 May 2011 21:35:10 -0400 Subject: Fix crash when opening message window. Would help if I actually did what the comment said... --- mail/e-mail-browser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/e-mail-browser.c') diff --git a/mail/e-mail-browser.c b/mail/e-mail-browser.c index 2179522c60..3678092a62 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 ( -- cgit