Added statuses settings to prefs output

This commit is contained in:
James Booth
2014-01-21 00:16:37 +00:00
parent a8c356e191
commit 0e2fbeb350
4 changed files with 39 additions and 31 deletions

View File

@@ -970,10 +970,18 @@ _cons_mouse_setting(void)
static void static void
_cons_statuses_setting(void) _cons_statuses_setting(void)
{ {
if (prefs_get_boolean(PREF_STATUSES)) char *console = prefs_get_string(PREF_STATUSES_CONSOLE);
cons_show("Status (/statuses) : ON"); char *chat = prefs_get_string(PREF_STATUSES_CHAT);
else gboolean muc = prefs_get_boolean(PREF_STATUSES_MUC);
cons_show("Status (/statuses) : OFF");
cons_show("Console statuses (/statuses) : %s", console);
cons_show("Chat win statuses (/statuses) : %s", chat);
if (muc) {
cons_show("MUC statuses (/statuses) : ON");
} else {
cons_show("MUC statuses (/statuses) : OFF");
}
} }
static void static void