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 b77d9a09..84b057bd 100644 --- a/src/preferences.c +++ b/src/preferences.c @@ -207,6 +207,19 @@ prefs_set_notify(gboolean value) } gboolean +prefs_get_typing(void) +{ + return g_key_file_get_boolean(prefs, "ui", "typing", NULL); +} + +void +prefs_set_typing(gboolean value) +{ + g_key_file_set_boolean(prefs, "ui", "typing", value); + _save_prefs(); +} + +gboolean prefs_get_flash(void) { return g_key_file_get_boolean(prefs, "ui", "flash", NULL); |