mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-23 13:36:20 +00:00
Added /theme list command
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user