diff options
author | fiaxh <git@mx.ax.lt> | 2017-08-21 17:16:25 +0200 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-08-22 16:22:56 +0200 |
commit | 4a4b5956c9b12bbfb583da1794ef0184e760ac33 (patch) | |
tree | 05a8581e46cc839e3064e5978e0708ad37a056db /main/src/ui/chat_input | |
parent | a8aceb1e395e3d0d5a570f6570a1613e2f990d87 (diff) | |
download | dino-4a4b5956c9b12bbfb583da1794ef0184e760ac33.tar.gz dino-4a4b5956c9b12bbfb583da1794ef0184e760ac33.zip |
Move settings from GSettings to own db
Diffstat (limited to 'main/src/ui/chat_input')
-rw-r--r-- | main/src/ui/chat_input/smiley_converter.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/ui/chat_input/smiley_converter.vala b/main/src/ui/chat_input/smiley_converter.vala index 849745f9..f8d29225 100644 --- a/main/src/ui/chat_input/smiley_converter.vala +++ b/main/src/ui/chat_input/smiley_converter.vala @@ -42,7 +42,7 @@ class SmileyConverter { } private void check_convert() { - if (Dino.Settings.instance().convert_utf8_smileys) { + if (Dino.Application.get_default().settings.convert_utf8_smileys) { foreach (string smiley in smiley_translations.keys) { if (text_input.buffer.text.has_suffix(smiley)) { if (text_input.buffer.text.length == smiley.length || @@ -55,4 +55,4 @@ class SmileyConverter { } } -}
\ No newline at end of file +} |