diff libpurple/protocols/jabber/libgtalk.c @ 32700:b961222cf067

Remove UI hack for XMPP sub-prpls.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Wed, 28 Dec 2011 09:00:48 +0000
parents eca1f14826e5
children 498ededa58cb
line wrap: on
line diff
--- a/libpurple/protocols/jabber/libgtalk.c	Wed Dec 28 08:47:49 2011 +0000
+++ b/libpurple/protocols/jabber/libgtalk.c	Wed Dec 28 09:00:48 2011 +0000
@@ -49,6 +49,12 @@
 #include "data.h"
 #include "ibb.h"
 
+static const char *
+gtalk_list_icon(PurpleAccount *a, PurpleBuddy *b)
+{
+	return "google-talk";
+}
+
 static PurplePlugin *my_protocol = NULL;
 
 static PurplePluginProtocolInfo prpl_info =
@@ -62,7 +68,7 @@
 	NULL,							/* user_splits */
 	NULL,							/* protocol_options */
 	{"png", 32, 32, 96, 96, 0, PURPLE_ICON_SCALE_SEND | PURPLE_ICON_SCALE_DISPLAY}, /* icon_spec */
-	jabber_list_icon,				/* list_icon */
+	gtalk_list_icon,				/* list_icon */
 	jabber_list_emblem,			/* list_emblems */
 	jabber_status_text,				/* status_text */
 	jabber_tooltip_text,			/* tooltip_text */