diff options
Diffstat (limited to 'src/preferences.c')
-rw-r--r-- | src/preferences.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/preferences.c b/src/preferences.c index 78044fcc..b1e2f0a0 100644 --- a/src/preferences.c +++ b/src/preferences.c @@ -236,6 +236,19 @@ prefs_set_beep(gboolean value) } gboolean +prefs_get_states(void) +{ + return g_key_file_get_boolean(prefs, "ui", "states", NULL); +} + +void +prefs_set_states(gboolean value) +{ + g_key_file_set_boolean(prefs, "ui", "states", value); + _save_prefs(); +} + +gboolean prefs_get_notify_typing(void) { return g_key_file_get_boolean(prefs, "notifications", "typing", NULL); |