From f3ca14f2d6f31c5a4b6438e64fbfca19ebad066e Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 1 Dec 2017 02:28:51 +0100 Subject: ConversationView: Date separator --- libdino/src/entity/message.vala | 2 +- libdino/src/plugin/interfaces.vala | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libdino') diff --git a/libdino/src/entity/message.vala b/libdino/src/entity/message.vala index 3c5d03d3..e41e3646 100644 --- a/libdino/src/entity/message.vala +++ b/libdino/src/entity/message.vala @@ -47,7 +47,7 @@ public class Message : Object { public Marked marked { get { return marked_; } set { - if (marked == Marked.RECEIVED && marked == Marked.READ) return; + if (marked == Marked.RECEIVED && value == Marked.READ) return; marked_ = value; } } diff --git a/libdino/src/plugin/interfaces.vala b/libdino/src/plugin/interfaces.vala index 852aa596..07cc759c 100644 --- a/libdino/src/plugin/interfaces.vala +++ b/libdino/src/plugin/interfaces.vala @@ -98,8 +98,8 @@ public abstract class MetaConversationItem : Object { } public interface ConversationItemCollection : Object { - public abstract void insert_item(MetaConversationItem item); - public abstract void remove_item(MetaConversationItem item); + public signal void insert_item(MetaConversationItem item); + public signal void remove_item(MetaConversationItem item); } public interface MessageDisplayProvider : Object { -- cgit v1.2.3-70-g09d2