Add new command /statuses for status notifications

This commit is contained in:
Backalor
2013-01-21 10:26:09 +09:00
parent ba0438607c
commit a0a1f9017f
4 changed files with 29 additions and 28 deletions

View File

@@ -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();
}