diff options
author | Backalor <backalor@backalor.com> | 2013-01-21 10:26:09 +0900 |
---|---|---|
committer | Backalor <backalor@backalor.com> | 2013-01-21 10:26:09 +0900 |
commit | a0a1f9017f01af9be6cac3280b47f9ae586b06ef (patch) | |
tree | 922d3a2c20bca505ae01cf6b646e506c46e6e2e1 /src/preferences.c | |
parent | ba0438607cf377af100987413b024d755963b969 (diff) | |
download | profani-tty-a0a1f9017f01af9be6cac3280b47f9ae586b06ef.tar.gz |
Add new command /statuses for status notifications
Diffstat (limited to 'src/preferences.c')
-rw-r--r-- | src/preferences.c | 8 |
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(); } |