diff options
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; |