soc.2008.themes: e66abb64: Fixes blist theme bug in buddy markup

ffdragon at soc.pidgin.im ffdragon at soc.pidgin.im
Fri Aug 8 17:35:38 EDT 2008


-----------------------------------------------------------------
Revision: e66abb64d93591a45f6729b2b9e64c2f0734ccf8
Ancestor: 6c289f85149fad2d73cb2247f2bdefb761e81daf
Author: ffdragon at soc.pidgin.im
Date: 2008-08-08T20:56:44
Branch: im.pidgin.soc.2008.themes
URL: http://d.pidgin.im/viewmtn/revision/info/e66abb64d93591a45f6729b2b9e64c2f0734ccf8

Modified files:
        pidgin/gtkblist.c

ChangeLog: 

Fixes blist theme bug in buddy markup

-------------- next part --------------
============================================================
--- pidgin/gtkblist.c	c7fd5d2294dc377cfed2880dcd4c4e341f8c56cb
+++ pidgin/gtkblist.c	5881be3c87374f9ca822390a38d0c94e4c83bc7d
@@ -3829,7 +3829,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));
@@ -3954,13 +3954,13 @@ pidgin_blist_get_name_markup(PurpleBuddy
 		status_font = (pair != NULL && pair->font != NULL) ? pair->font : "";
 	}
 
-	if (!aliased && selected) {
+	if (aliased && selected) {
 		name_color = "black";
 		status_color = "black";
 	}
 
 	/* 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>*/
 		text = g_strdup_printf("<span font_desc='%s' foreground='%s'>%s</span>\n"
 				 	"<small><span font_desc='%s' foreground='%s'>%s%s%s</span></small>", 


More information about the Commits mailing list