Added /roster show|hide rooms

This commit is contained in:
James Booth
2016-01-02 01:37:03 +00:00
parent cf80fdc329
commit 254c83d2d1
4 changed files with 25 additions and 3 deletions

View File

@@ -1325,6 +1325,11 @@ cons_roster_setting(void)
else
cons_show("Roster priority (/roster) : hide");
if (prefs_get_boolean(PREF_ROSTER_ROOMS))
cons_show("Roster rooms (/roster) : show");
else
cons_show("Roster rooms (/roster) : hide");
char *by = prefs_get_string(PREF_ROSTER_BY);
cons_show("Roster by (/roster) : %s", by);
prefs_free_string(by);

View File

@@ -417,7 +417,7 @@ _rosterwin_rooms(ProfLayoutSplit *layout, gboolean newline)
if (ch) {
g_string_append_printf(title_str, "%c", ch);
}
g_string_append(title_str, "rooms");
g_string_append(title_str, "Rooms");
if (prefs_get_boolean(PREF_ROSTER_COUNT)) {
g_string_append_printf(title_str, " (%d)", g_list_length(rooms));
}