aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-22 09:35:10 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:18 +0800
commit43e043c2c4c210a60d74727fe82189fe32f1a288 (patch)
tree7eb9d1194337725a4d2116ae97e156ff6cc83cea
parent794ec7dbb6e7effb40f9d6659bfeb91a321ca10c (diff)
downloadgsoc2013-evolution-43e043c2c4c210a60d74727fe82189fe32f1a288.tar
gsoc2013-evolution-43e043c2c4c210a60d74727fe82189fe32f1a288.tar.gz
gsoc2013-evolution-43e043c2c4c210a60d74727fe82189fe32f1a288.tar.bz2
gsoc2013-evolution-43e043c2c4c210a60d74727fe82189fe32f1a288.tar.lz
gsoc2013-evolution-43e043c2c4c210a60d74727fe82189fe32f1a288.tar.xz
gsoc2013-evolution-43e043c2c4c210a60d74727fe82189fe32f1a288.tar.zst
gsoc2013-evolution-43e043c2c4c210a60d74727fe82189fe32f1a288.zip
Fix crash when opening message window.
Would help if I actually did what the comment said...
-rw-r--r--mail/e-mail-browser.c4
1 files changed, 2 insertions, 2 deletions
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 (