diff pidgin/gtkblist.c @ 18215:16bf31872b7a

Chat topics in status line of chat infopanes
author Sean Egan <seanegan@gmail.com>
date Wed, 20 Jun 2007 23:33:32 +0000
parents 77b9ceb83426
children e3a4ed0febd2
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Wed Jun 20 22:39:17 2007 +0000
+++ b/pidgin/gtkblist.c	Wed Jun 20 23:33:32 2007 +0000
@@ -151,11 +151,7 @@
 	if (!gtkblist)
 		return "dim grey";
 	if (!dim_grey_string[0]) {
-		GtkStyle *style = gtk_widget_get_style(gtkblist->treeview);
-		snprintf(dim_grey_string, sizeof(dim_grey_string), "#%02x%02x%02x",
-			 style->text_aa[GTK_STATE_NORMAL].red >> 8,
-			 style->text_aa[GTK_STATE_NORMAL].green >> 8,
-			 style->text_aa[GTK_STATE_NORMAL].blue >> 8);
+		snprintf(dim_grey_string, sizeof(dim_grey_string), "%s", pidgin_get_dim_grey_string(gtkblist->treeview)); 
 	}
 	return dim_grey_string;
 }