changeset 28807:876ffa0f5465

pidgin: Bold usernames with unread messages in the buddy list again. Closes #10068.
author Paul Aurich <paul@darkrain42.org>
date Mon, 26 Oct 2009 00:00:24 +0000
parents 3e6b997b475d
children 54755c2d6836
files ChangeLog pidgin/gtkblist.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Oct 25 23:35:09 2009 +0000
+++ b/ChangeLog	Mon Oct 26 00:00:24 2009 +0000
@@ -44,6 +44,7 @@
 	  widget name "pidgin_conv_userlist". (Heiko Schmitt)
 	* Add a hold button to the media window.
 	* Tooltips for custom smileys should work now.
+	* Users with unread messages are again bolded in the Buddy List.
 
 version 2.6.3 (10/16/2009):
 	General:
--- a/pidgin/gtkblist.c	Sun Oct 25 23:35:09 2009 +0000
+++ b/pidgin/gtkblist.c	Mon Oct 26 00:00:24 2009 +0000
@@ -4184,6 +4184,12 @@
 		}
 	}
 
+	if (hidden_conv) {
+		char *tmp = nametext;
+		nametext = g_strdup_printf("<b>%s</b>", tmp);
+		g_free(tmp);
+	}
+
 	/* Put it all together */
 	if ((!aliased || biglist) && (statustext || idletime)) {
 		/* using <span size='smaller'> breaks the status, so it must be seperated into <small><span>*/