changeset 20967:5cf8eef0692b

weight="bold" was getting set twice on tab titles when receiving an IM, causing me to get one of these puppies each time: Gtk: Failed to set text from markup due to error parsing markup: Attribute 'weight' occurs twice on <span> tag on line 1 char 59, may only occur once
author Mark Doliner <mark@kingant.net>
date Tue, 16 Oct 2007 07:10:33 +0000
parents dbbe341b5283
children d59fb44a0617
files pidgin/gtkconv.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Tue Oct 16 06:55:54 2007 +0000
+++ b/pidgin/gtkconv.c	Tue Oct 16 07:10:33 2007 +0000
@@ -6581,9 +6581,9 @@
 		} else if (gtkconv->unseen_state == PIDGIN_UNSEEN_TEXT)	{
 			atk_object_set_description(accessibility_obj, _("Unread Messages"));
 			if (gtkconv->active_conv->type == PURPLE_CONV_TYPE_CHAT)
-				style = "color=\"#204a87\" weight=\"bold\"";
+				style = "color=\"#204a87\"";
 			else
-				style = "color=\"#cc0000\" weight=\"bold\"";
+				style = "color=\"#cc0000\"";
 		} else if (gtkconv->unseen_state == PIDGIN_UNSEEN_EVENT) {
 			atk_object_set_description(accessibility_obj, _("New Event"));
 			style = "color=\"#888a85\"";
@@ -6595,7 +6595,7 @@
 				gtkconv->unseen_state == PIDGIN_UNSEEN_NICK ||
 				gtkconv->unseen_state == PIDGIN_UNSEEN_EVENT)
 			bold = TRUE;
-		
+
 		if (style || bold)
 		{
 			char *html_title,*label;