diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-22 09:35:10 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-05-22 09:35:10 +0800 |
commit | d44105562d14887773419f8d07ce26be34073b9e (patch) | |
tree | 073254b0865d63b7471053351076d28546093d03 | |
parent | 1d9a11e381c1c2d29af7852aa655b4a504b5a7af (diff) | |
download | gsoc2013-evolution-d44105562d14887773419f8d07ce26be34073b9e.tar gsoc2013-evolution-d44105562d14887773419f8d07ce26be34073b9e.tar.gz gsoc2013-evolution-d44105562d14887773419f8d07ce26be34073b9e.tar.bz2 gsoc2013-evolution-d44105562d14887773419f8d07ce26be34073b9e.tar.lz gsoc2013-evolution-d44105562d14887773419f8d07ce26be34073b9e.tar.xz gsoc2013-evolution-d44105562d14887773419f8d07ce26be34073b9e.tar.zst gsoc2013-evolution-d44105562d14887773419f8d07ce26be34073b9e.zip |
Fix crash when opening message window.
Would help if I actually did what the comment said...
-rw-r--r-- | 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 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 ( |