about summary refs log tree commit diff stats
path: root/src/preferences.c
diff options
context:
space:
mode:
authorBackalor <backalor@backalor.com>2013-01-21 10:26:09 +0900
committerBackalor <backalor@backalor.com>2013-01-21 10:26:09 +0900
commita0a1f9017f01af9be6cac3280b47f9ae586b06ef (patch)
tree922d3a2c20bca505ae01cf6b646e506c46e6e2e1 /src/preferences.c
parentba0438607cf377af100987413b024d755963b969 (diff)
downloadprofani-tty-a0a1f9017f01af9be6cac3280b47f9ae586b06ef.tar.gz
Add new command /statuses for status notifications
Diffstat (limited to 'src/preferences.c')
-rw-r--r--src/preferences.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/preferences.c b/src/preferences.c
index 7cd6f722..c4283269 100644
--- a/src/preferences.c
+++ b/src/preferences.c
@@ -411,15 +411,15 @@ prefs_set_splash(gboolean value)
 }
 
 gboolean
-prefs_get_notify_status(void)
+prefs_get_statuses(void)
 {
-    return g_key_file_get_boolean(prefs, "notifications", "status", NULL);
+    return g_key_file_get_boolean(prefs, "ui", "statuses", NULL);
 }
 
 void
-prefs_set_notify_status(gboolean value)
+prefs_set_statuses(gboolean value)
 {
-    g_key_file_set_boolean(prefs, "notifications", "status", value);
+    g_key_file_set_boolean(prefs, "ui", "statuses", value);
     _save_prefs();
 }