[geary/wip/713190-resort-2: 14/14] Simply set_row() when a conversation is refreshed
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/713190-resort-2: 14/14] Simply set_row() when a conversation is refreshed
- Date: Wed, 28 Jan 2015 00:33:17 +0000 (UTC)
commit 3a2780e0fd543d6169aa371c0afa62daf61d21f0
Author: Jim Nelson <jim yorba org>
Date: Tue Jan 27 16:32:17 2015 -0800
Simply set_row() when a conversation is refreshed
The idea is to ensure that it's always sorted into the correct
location and details are updated.
.../conversation-list/conversation-list-store.vala | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/src/client/conversation-list/conversation-list-store.vala
b/src/client/conversation-list/conversation-list-store.vala
index 13b0035..12859cd 100644
--- a/src/client/conversation-list/conversation-list-store.vala
+++ b/src/client/conversation-list/conversation-list-store.vala
@@ -320,14 +320,7 @@ public class ConversationListStore : Gtk.ListStore {
return;
}
- FormattedConversationData? existing_message_data = get_message_data_at_iter(iter);
-
- if (existing_message_data == null || !existing_message_data.preview.id.equal_to(last_email.id)) {
- set_row(iter, conversation, last_email);
- } else if (existing_message_data != null &&
- existing_message_data.num_emails != conversation.get_count()) {
- existing_message_data.num_emails = conversation.get_count();
- }
+ set_row(iter, conversation, last_email);
Gtk.TreePath? path = get_path(iter);
if (path != null)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]