diff plugins/ticker/ticker.c @ 4227:a614423c648f

[gaim-migrate @ 4471] This is a patch from Nathan Walp that adds a "char server_alias[BUDDY_ALIAS_MAXLEN]" to struct buddy, and a preference option to show the server alias instead of the alias set by you. It shouldn't cause any problems. But then again, faceprint is a crazy patch writer, with an emphasis on crazy, if you know what I mean. Huh? Get it? "Crazy"? I kill me. But right after I kill Time Warner. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 07 Jan 2003 17:44:34 +0000
parents ebfb80bbe1ed
children 0c68d402f59f
line wrap: on
line diff
--- a/plugins/ticker/ticker.c	Tue Jan 07 16:18:08 2003 +0000
+++ b/plugins/ticker/ticker.c	Tue Jan 07 17:44:34 2003 +0000
@@ -351,7 +351,7 @@
 					if (xpm == NULL)
 						xpm = (char **)no_icon_xpm;
 					pm = gdk_pixmap_create_from_xpm_d(blist->window, &bm, NULL, xpm);
-					BuddyTickerAddUser( b->name, b->show, pm, bm );
+					BuddyTickerAddUser( b->name, get_buddy_alias(b), pm, bm );
 					gdk_pixmap_unref(pm);
 					if (bm)
 						gdk_bitmap_unref(bm);
@@ -374,7 +374,7 @@
 		xpm = (char **)no_icon_xpm;
 	pm = gdk_pixmap_create_from_xpm_d(blist->window, &bm, NULL, xpm);
 		
-	BuddyTickerAddUser(who, b->show, pm, bm);
+	BuddyTickerAddUser(who, get_buddy_alias(b), pm, bm);
 	gdk_pixmap_unref(pm);
 	if (bm)
 		gdk_bitmap_unref(bm);