aboutsummaryrefslogtreecommitdiff
path: root/client/src/settings.vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2017-03-10 19:34:56 +0100
committerMarvin W <git@larma.de>2017-03-10 19:50:34 +0100
commit29ca70a6d534e1cd79963718c793ae740318cff1 (patch)
tree295bc0a88b9f31f103bc970fbdcd2d940d6c83e2 /client/src/settings.vala
parentcf51e1dee22273366700c41a185c4bea343dddfe (diff)
downloaddino-29ca70a6d534e1cd79963718c793ae740318cff1.tar.gz
dino-29ca70a6d534e1cd79963718c793ae740318cff1.zip
Initial plugin system
Diffstat (limited to 'client/src/settings.vala')
-rw-r--r--client/src/settings.vala28
1 files changed, 0 insertions, 28 deletions
diff --git a/client/src/settings.vala b/client/src/settings.vala
deleted file mode 100644
index 17177232..00000000
--- a/client/src/settings.vala
+++ /dev/null
@@ -1,28 +0,0 @@
-namespace Dino {
-
-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 convert_utf8_smileys {
- get { return gsettings.get_boolean("convert-utf8-smileys"); }
- set { gsettings.set_boolean("convert-utf8-smileys", value); }
- }
-
- public Settings(GLib.Settings gsettings) {
- this.gsettings = gsettings;
- }
-
- public static Settings instance() {
- SettingsSchemaSource sss = SettingsSchemaSource.get_default();
- SettingsSchema schema = sss.lookup("org.dino-im", false);
- return new Settings(new GLib.Settings.full(schema, null, null));
- }
-}
-
-} \ No newline at end of file