# HG changeset patch # User Mark Doliner # Date 1192518633 0 # Node ID 5cf8eef0692b4bab6d9605bbcd10e87da0e0f34e # Parent dbbe341b5283110a7022440d79b264db65cd90e7 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 tag on line 1 char 59, may only occur once diff -r dbbe341b5283 -r 5cf8eef0692b pidgin/gtkconv.c --- 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;