diff options
author | Milan Crha <mcrha@redhat.com> | 2014-05-06 22:27:01 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2014-05-06 22:27:01 +0800 |
commit | 4c610e4945ed1c6d4b03078cd1490063bf58662a (patch) | |
tree | 196c7f162e0d20235f18dd5a7ec838b47d4c2c03 /mail/e-mail-reader-utils.c | |
parent | c2de4087369147ed6797f6b7866629ff9da19dfc (diff) | |
download | gsoc2013-evolution-4c610e4945ed1c6d4b03078cd1490063bf58662a.tar gsoc2013-evolution-4c610e4945ed1c6d4b03078cd1490063bf58662a.tar.gz gsoc2013-evolution-4c610e4945ed1c6d4b03078cd1490063bf58662a.tar.bz2 gsoc2013-evolution-4c610e4945ed1c6d4b03078cd1490063bf58662a.tar.lz gsoc2013-evolution-4c610e4945ed1c6d4b03078cd1490063bf58662a.tar.xz gsoc2013-evolution-4c610e4945ed1c6d4b03078cd1490063bf58662a.tar.zst gsoc2013-evolution-4c610e4945ed1c6d4b03078cd1490063bf58662a.zip |
Bug #666142 - Filtered message not opened in a separate window
Diffstat (limited to 'mail/e-mail-reader-utils.c')
-rw-r--r-- | mail/e-mail-reader-utils.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/mail/e-mail-reader-utils.c b/mail/e-mail-reader-utils.c index c6bdebbfb8..07ac1928f6 100644 --- a/mail/e-mail-reader-utils.c +++ b/mail/e-mail-reader-utils.c @@ -879,17 +879,15 @@ e_mail_reader_open_selected (EMailReader *reader) GtkWidget *browser; MessageList *ml; - browser = e_mail_browser_new ( - backend, folder, uid, - E_MAIL_FORMATTER_MODE_NORMAL); - - e_mail_reader_set_folder (E_MAIL_READER (browser), folder); - e_mail_reader_set_message (E_MAIL_READER (browser), uid); + browser = e_mail_browser_new (backend, E_MAIL_FORMATTER_MODE_NORMAL); ml = MESSAGE_LIST (e_mail_reader_get_message_list ( E_MAIL_READER (browser))); message_list_freeze (ml); + e_mail_reader_set_folder (E_MAIL_READER (browser), folder); + e_mail_reader_set_message (E_MAIL_READER (browser), uid); + copy_tree_state (reader, E_MAIL_READER (browser)); e_mail_reader_set_group_by_threads ( E_MAIL_READER (browser), |