# HG changeset patch # User Etan Reisner # Date 1245906681 0 # Node ID 9715022e8e35a943418cf9836ddcf4d8d6e91d6c # Parent b0c20567913bffca0ca703cd6d0f260104c93c4f De-emphasize the () around the collapsed group counts. I can't actually see this with the font setup I have here but I think it looks nicer when I bump the font up so I can see the difference. diff -r b0c20567913b -r 9715022e8e35 pidgin/gtkblist.c --- a/pidgin/gtkblist.c Thu Jun 25 04:10:31 2009 +0000 +++ b/pidgin/gtkblist.c Thu Jun 25 05:11:21 2009 +0000 @@ -6300,7 +6300,7 @@ selected = (gnode == selected_node); if (!expanded) { - g_snprintf(group_count, sizeof(group_count), " (%d/%d)", + g_snprintf(group_count, sizeof(group_count), "%d/%d", purple_blist_get_group_online_count(group), purple_blist_get_group_size(group, FALSE)); } @@ -6319,11 +6319,18 @@ esc = g_markup_escape_text(group->name, -1); if (text_color) { - mark = g_strdup_printf("%s%s", - text_color, text_font, esc ? esc : "", group_count); + mark = g_strdup_printf("%s%s%s%s", + text_color, text_font, + esc ? esc : "", + !expanded ? " (" : "", + group_count, + !expanded ? ")" : ""); } else { - mark = g_strdup_printf("%s%s", - text_font, esc ? esc : "", group_count); + mark = g_strdup_printf("%s%s%s%s", + text_font, esc ? esc : "", + !expanded ? " (" : "", + group_count, + !expanded ? ")" : ""); } g_free(esc);