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 13aa1793..847b1817 100644 --- a/src/preferences.c +++ b/src/preferences.c @@ -269,6 +269,19 @@ prefs_set_chlog(gboolean value) _save_prefs(); } +gboolean +prefs_get_history(void) +{ + return g_key_file_get_boolean(prefs, "ui", "history", NULL); +} + +void +prefs_set_history(gboolean value) +{ + g_key_file_set_boolean(prefs, "ui", "history", value); + _save_prefs(); +} + gint prefs_get_remind(void) { |