diff options
author | fiaxh <git@mx.ax.lt> | 2017-12-01 02:28:51 +0100 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-12-01 02:28:51 +0100 |
commit | f3ca14f2d6f31c5a4b6438e64fbfca19ebad066e (patch) | |
tree | 81f9c53b9fb6f2d8ee28f80c649a57c8d54810be /libdino/src | |
parent | 1e011852e00efa9d4d3547d2ca37e395da1070c6 (diff) | |
download | dino-f3ca14f2d6f31c5a4b6438e64fbfca19ebad066e.tar.gz dino-f3ca14f2d6f31c5a4b6438e64fbfca19ebad066e.zip |
ConversationView: Date separator
Diffstat (limited to 'libdino/src')
-rw-r--r-- | libdino/src/entity/message.vala | 2 | ||||
-rw-r--r-- | libdino/src/plugin/interfaces.vala | 4 |
2 files changed, 3 insertions, 3 deletions
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 { |