aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/settings.vala
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-05-30 22:31:05 +0200
committerfiaxh <git@mx.ax.lt>2017-05-30 22:33:33 +0200
commit387433ebb9bab442502f812e0364111f37270bcb (patch)
tree5dba69992da0a402380d7bde27433c750f5be920 /libdino/src/settings.vala
parent3a8df2069eba3a5a4174749fc46a6698c1877ec1 (diff)
downloaddino-387433ebb9bab442502f812e0364111f37270bcb.tar.gz
dino-387433ebb9bab442502f812e0364111f37270bcb.zip
Notifications + typing notifications + message marker settings per conversation
Diffstat (limited to 'libdino/src/settings.vala')
-rw-r--r--libdino/src/settings.vala16
1 files changed, 13 insertions, 3 deletions
diff --git a/libdino/src/settings.vala b/libdino/src/settings.vala
index 3700583b..45d2192f 100644
--- a/libdino/src/settings.vala
+++ b/libdino/src/settings.vala
@@ -4,9 +4,19 @@ public class Settings {
private GLib.Settings gsettings;
- public bool send_read {
- get { return gsettings.get_boolean("send-read"); }
- set { gsettings.set_boolean("send-read", value); }
+ public bool send_typing {
+ get { return gsettings.get_boolean("send-typing"); }
+ set { gsettings.set_boolean("send-typing", value); }
+ }
+
+ public bool send_marker {
+ get { return gsettings.get_boolean("send-marker"); }
+ set { gsettings.set_boolean("send-marker", value); }
+ }
+
+ public bool notifications {
+ get { return gsettings.get_boolean("notifications"); }
+ set { gsettings.set_boolean("notifications", value); }
}
public bool convert_utf8_smileys {