From 6a1f057de2d446e6b9c21f377cf0ec79930369c0 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sat, 25 May 2019 21:57:23 +0200 Subject: Fix date separators --- main/src/ui/conversation_summary/date_separator_populator.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main/src/ui/conversation_summary/date_separator_populator.vala') diff --git a/main/src/ui/conversation_summary/date_separator_populator.vala b/main/src/ui/conversation_summary/date_separator_populator.vala index 6a1ba782..a5c1a887 100644 --- a/main/src/ui/conversation_summary/date_separator_populator.vala +++ b/main/src/ui/conversation_summary/date_separator_populator.vala @@ -23,19 +23,19 @@ class DateSeparatorPopulator : Plugins.ConversationItemPopulator, Plugins.Conver public void init(Conversation conversation, Plugins.ConversationItemCollection item_collection, Plugins.WidgetType type) { current_conversation = conversation; this.item_collection = item_collection; - item_collection.insert_item.connect(on_insert_item); + item_collection.inserted_item.connect(on_inserted_item); this.insert_times = new TreeSet((a, b) => { return a.compare(b); }); } public void close(Conversation conversation) { - item_collection.insert_item.disconnect(on_insert_item); + item_collection.inserted_item.disconnect(on_inserted_item); } public void populate_timespan(Conversation conversation, DateTime after, DateTime before) { } - private void on_insert_item(Plugins.MetaConversationItem item) { + private void on_inserted_item(Plugins.MetaConversationItem item) { if (item.display_time == null) return; DateTime time = item.sort_time.to_local(); -- cgit v1.2.3-70-g09d2