[evolution/wip/webkit2] Bug 735150 - Preserve multiselection on folder change in message list



commit f264b3326a82c532056aacb5a59b7f4f25582a8f
Author: Milan Crha <mcrha redhat com>
Date:   Tue Jan 6 15:31:55 2015 +0100

    Bug 735150 - Preserve multiselection on folder change in message list

 mail/message-list.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/mail/message-list.c b/mail/message-list.c
index 1b026dc..9dd41ce 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -5818,7 +5818,9 @@ message_list_regen_done_cb (GObject *source_object,
                        saveuid = g_strdup (message_list->cursor_uid);
                }
 
-               if (saveuid) {
+               if (message_list_selected_count (message_list) > 1) {
+                       g_free (saveuid);
+               } else if (saveuid) {
                        GNode *node;
 
                        node = g_hash_table_lookup (


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]