[evolution] Bug 708004 - Deleting in threaded mode moves cursor to incorrect message
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 708004 - Deleting in threaded mode moves cursor to incorrect message
- Date: Sat, 14 Sep 2013 17:48:15 +0000 (UTC)
commit 3d0ffdb864e7f1692b01e7e9a1adec37a735e704
Author: David Dillow <dave thedillows org>
Date: Sat Sep 14 13:48:43 2013 -0400
Bug 708004 - Deleting in threaded mode moves cursor to incorrect message
mail/message-list.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/mail/message-list.c b/mail/message-list.c
index b0082f9..1b0ba49 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -3905,10 +3905,12 @@ build_tree (MessageList *message_list,
node = parent;
}
- message_list_tree_model_freeze (message_list);
-
+ /* We need to set the cursor before we freeze, as
+ * the thaw will restore it to the pre-freeze value. */
e_tree_set_cursor (E_TREE (message_list), node);
+ message_list_tree_model_freeze (message_list);
+
/* Show the cursor unless we're responding to a
* "folder-changed" signal from our CamelFolder. */
if (folder_changed && table_item != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]