about summary refs log tree commit diff stats
path: root/src/preferences.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/preferences.c')
-rw-r--r--src/preferences.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/preferences.c b/src/preferences.c
index bc4f67f7..78044fcc 100644
--- a/src/preferences.c
+++ b/src/preferences.c
@@ -301,6 +301,19 @@ prefs_set_flash(gboolean value)
 }
 
 gboolean
+prefs_get_intype(void)
+{
+    return g_key_file_get_boolean(prefs, "ui", "intype", NULL);
+}
+
+void
+prefs_set_intype(gboolean value)
+{
+    g_key_file_set_boolean(prefs, "ui", "intype", value);
+    _save_prefs();
+}
+
+gboolean
 prefs_get_chlog(void)
 {
     return g_key_file_get_boolean(prefs, "ui", "chlog", NULL);