underline group headers instead of setting their background color. Inspired by Empathy, and probably Gossip before it. I think it probably looks better, but it's just two lines, so tell me if you disagree

Sat, 15 Sep 2007 20:33:45 +0000

author
Sean Egan <seanegan@pidgin.im>
date
Sat, 15 Sep 2007 20:33:45 +0000
changeset 20308
5de5b8ab4627
parent 20307
c6c3c35b9364
child 20322
52718b372f38

underline group headers instead of setting their background color. Inspired by Empathy, and probably Gossip before it. I think it probably looks better, but it's just two lines, so tell me if you disagree

pidgin/gtkblist.c file | annotate | diff | comparison | revisions
pidgin/gtkcellrendererexpander.c file | annotate | diff | comparison | revisions
pidgin/plugins/pidginrc.c file | annotate | diff | comparison | revisions
--- a/pidgin/gtkblist.c	Sat Sep 15 07:12:35 2007 +0000
+++ b/pidgin/gtkblist.c	Sat Sep 15 20:33:45 2007 +0000
@@ -5088,7 +5088,7 @@
 				   STATUS_ICON_COLUMN, NULL,
 				   NAME_COLUMN, title,
 				   NODE_COLUMN, gnode,
-				   BGCOLOR_COLUMN, &bgcolor,
+	/* 			   BGCOLOR_COLUMN, &bgcolor,     */
 				   GROUP_EXPANDER_COLUMN, TRUE,
 				   GROUP_EXPANDER_VISIBLE_COLUMN, TRUE,
 				   CONTACT_EXPANDER_VISIBLE_COLUMN, FALSE,
--- a/pidgin/gtkcellrendererexpander.c	Sat Sep 15 07:12:35 2007 +0000
+++ b/pidgin/gtkcellrendererexpander.c	Sat Sep 15 20:33:45 2007 +0000
@@ -269,6 +269,7 @@
 			    cell_area->x + cell->xpad + (width / 2),
 			    cell_area->y + cell->ypad + (height / 2),
 			    cell->is_expanded ? GTK_EXPANDER_EXPANDED : GTK_EXPANDER_COLLAPSED);
+	gtk_paint_hline (widget->style, window, state, NULL, widget, NULL, 0, widget->allocation.width, cell_area->y + cell_area->height);
 }
 
 static gboolean pidgin_cell_renderer_expander_activate(GtkCellRenderer *r,
--- a/pidgin/plugins/pidginrc.c	Sat Sep 15 07:12:35 2007 +0000
+++ b/pidgin/plugins/pidginrc.c	Sat Sep 15 20:33:45 2007 +0000
@@ -57,22 +57,16 @@
 
 static const gchar *font_prefs[] = {
 	"/plugins/gtk/purplerc/font/*pidgin_conv_entry",
-	"/plugins/gtk/purplerc/font/*pidgin_conv_imhtml",
-	"/plugins/gtk/purplerc/font/*pidgin_log_imhtml",
 	"/plugins/gtk/purplerc/font/*pidgin_request_imhtml",
 	"/plugins/gtk/purplerc/font/*pidgin_notify_imhtml",
 };
 static const gchar *font_prefs_set[] = {
 	"/plugins/gtk/purplerc/set/font/*pidgin_conv_entry",
-	"/plugins/gtk/purplerc/set/font/*pidgin_conv_imhtml",
-	"/plugins/gtk/purplerc/set/font/*pidgin_log_imhtml",
 	"/plugins/gtk/purplerc/set/font/*pidgin_request_imhtml",
 	"/plugins/gtk/purplerc/set/font/*pidgin_notify_imhtml",
 };
 static const gchar *font_names[] = {
 	N_("Conversation Entry"),
-	N_("Conversation History"),
-	N_("Log Viewer"),
 	N_("Request Dialog"),
 	N_("Notify Dialog")
 };

mercurial