Added /theme list command

This commit is contained in:
James Booth
2012-12-09 00:21:33 +00:00
parent 4c243722c6
commit 986967ef89
5 changed files with 49 additions and 1 deletions

View File

@@ -1289,6 +1289,22 @@ cons_show_connection_prefs(void)
}
}
void
cons_show_themes(GSList *themes)
{
cons_show("");
if (themes == NULL) {
cons_show("No available themes.");
} else {
cons_show("Available themes:");
while (themes != NULL) {
cons_show(themes->data);
themes = g_slist_next(themes);
}
}
}
void
cons_prefs(void)
{