diff options
author | Dan Vrátil <dvratil@redhat.com> | 2012-07-24 16:30:52 +0800 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2012-07-24 16:30:52 +0800 |
commit | 0568c36bde3fde0baaf5602d0a22fcf5749d27d9 (patch) | |
tree | 3306204122b4ae98c225dea0387099daddca4e7c /mail/message-list.c | |
parent | bb3487625b354038f490fdf30ffc4490fd31c035 (diff) | |
download | gsoc2013-evolution-0568c36bde3fde0baaf5602d0a22fcf5749d27d9.tar gsoc2013-evolution-0568c36bde3fde0baaf5602d0a22fcf5749d27d9.tar.gz gsoc2013-evolution-0568c36bde3fde0baaf5602d0a22fcf5749d27d9.tar.bz2 gsoc2013-evolution-0568c36bde3fde0baaf5602d0a22fcf5749d27d9.tar.lz gsoc2013-evolution-0568c36bde3fde0baaf5602d0a22fcf5749d27d9.tar.xz gsoc2013-evolution-0568c36bde3fde0baaf5602d0a22fcf5749d27d9.tar.zst gsoc2013-evolution-0568c36bde3fde0baaf5602d0a22fcf5749d27d9.zip |
Bug 677635 - Vanished message list with filled preview panel
Diffstat (limited to 'mail/message-list.c')
-rw-r--r-- | mail/message-list.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index 7cce5f9899..9e2a31acc8 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -3924,9 +3924,13 @@ message_list_set_folder (MessageList *message_list, if (message_list->cursor_uid) { g_free (message_list->cursor_uid); message_list->cursor_uid = NULL; - g_signal_emit (message_list, message_list_signals[MESSAGE_SELECTED], 0, NULL); } + /* Always emit message-selected, event when an account node + * (folder == NULL) is selected, so that views know what happened and + * can stop all running operations etc. */ + g_signal_emit (message_list, message_list_signals[MESSAGE_SELECTED], 0, NULL); + if (CAMEL_IS_FOLDER (folder)) { CamelStore *store; gboolean non_trash_folder; |