Mercurial > pidgin
changeset 21764:c7e81e9cc476
merge of '291ef07a3b75f3cde5bcdd92767af92401228a7a'
and '7c341c631158977d493bcc6bf4935163a3b7f0db'
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 04 Dec 2007 09:32:18 +0000 |
parents | 92ae7b2c95ed (diff) 5bf56cc935a8 (current diff) |
children | 8c1bcaaaac34 |
files | |
diffstat | 1 files changed, 1 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkblist.c Tue Dec 04 09:32:06 2007 +0000 +++ b/pidgin/gtkblist.c Tue Dec 04 09:32:18 2007 +0000 @@ -5710,7 +5710,6 @@ static char *pidgin_get_group_title(PurpleBlistNode *gnode, gboolean expanded) { PurpleGroup *group; - GdkColor textcolor; gboolean selected; char group_count[12] = ""; char *mark, *esc; @@ -5718,7 +5717,6 @@ GtkTreeIter iter; group = (PurpleGroup*)gnode; - textcolor = gtkblist->treeview->style->fg[GTK_STATE_ACTIVE]; if (gtk_tree_selection_get_selected(gtk_tree_view_get_selection(GTK_TREE_VIEW(gtkblist->treeview)), NULL, &iter)) { gtk_tree_model_get(GTK_TREE_MODEL(gtkblist->treemodel), &iter, @@ -5733,12 +5731,7 @@ } esc = g_markup_escape_text(group->name, -1); - if (selected) - mark = g_strdup_printf("<span weight='bold'>%s</span>%s", esc ? esc : "", group_count); - else - mark = g_strdup_printf("<span color='#%02x%02x%02x' weight='bold'>%s</span>%s", - textcolor.red>>8, textcolor.green>>8, textcolor.blue>>8, - esc ? esc : "", group_count); + mark = g_strdup_printf("<span weight='bold'>%s</span>%s", esc ? esc : "", group_count); g_free(esc); return mark;