pidgin: 402af015: Fix displaying of status messages in the...

paul at darkrain42.org paul at darkrain42.org
Wed Mar 25 02:10:39 EDT 2009


-----------------------------------------------------------------
Revision: 402af0151e0ef3f2ad2bd757aadbbe514321e48c
Ancestor: f8e29008581f125525301f7a98874c63847b2c29
Author: paul at darkrain42.org
Date: 2009-03-25T06:07:44
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/402af0151e0ef3f2ad2bd757aadbbe514321e48c

Modified files:
        pidgin/gtkblist.c

ChangeLog: 

Fix displaying of status messages in the conversation infopane.

Rekkanoryo thinks this is okay (and it doesn't seem to have broken anything
else that I've noticed).

Fixes #8670.

-------------- next part --------------
============================================================
--- pidgin/gtkblist.c	5977b9923355b424fb68ad460dbaa7722cc8b83c
+++ pidgin/gtkblist.c	e0ed6c5765f75de105a63b4c7aacf399f60d80be
@@ -3898,7 +3898,7 @@ pidgin_blist_get_name_markup(PurpleBuddy
 	presence = purple_buddy_get_presence(b);
 
 	/* Name is all that is needed */
-	if (aliased && biglist) {
+	if (!aliased || biglist) {
 
 		/* Status Info */
 		prpl = purple_find_prpl(purple_account_get_protocol_id(b->account));
@@ -4038,7 +4038,7 @@ pidgin_blist_get_name_markup(PurpleBuddy
 	}
 
 	/* Put it all together */
-	if (aliased && biglist && (statustext || idletime)) {
+	if ((!aliased || biglist) && (statustext || idletime)) {
 		/* using <span size='smaller'> breaks the status, so it must be seperated into <small><span>*/
 		if (name_color) {
 			text = g_strdup_printf("<span font_desc='%s' foreground='%s'>%s</span>\n"


More information about the Commits mailing list