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
_cons_statuses_setting(void)
{
if (prefs_get_boolean(PREF_STATUSES))
cons_show("Status (/statuses) : ON");
else
cons_show("Status (/statuses) : OFF");
char *console = prefs_get_string(PREF_STATUSES_CONSOLE);
char *chat = prefs_get_string(PREF_STATUSES_CHAT);
gboolean muc = prefs_get_boolean(PREF_STATUSES_MUC);
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