Revision: 17941
http://svn.sourceforge.net/gaim/?rev=17941&view=rev
Author: thekingant
Date: 2006-12-10 01:02:48 -0800 (Sun, 10 Dec 2006)
Log Message:
-----------
Update Bonjour to use Evan's snazzy new notify_user_info stuff
Modified Paths:
--------------
trunk/libgaim/protocols/bonjour/bonjour.c
Modified: trunk/libgaim/protocols/bonjour/bonjour.c
===================================================================
--- trunk/libgaim/protocols/bonjour/bonjour.c 2006-12-10 09:02:47 UTC (rev 17940)
+++ trunk/libgaim/protocols/bonjour/bonjour.c 2006-12-10 09:02:48 UTC (rev 17941)
@@ -316,7 +316,7 @@
}
static void
-bonjour_tooltip_text(GaimBuddy *buddy, GString *str, gboolean full)
+bonjour_tooltip_text(GaimBuddy *buddy, GaimNotifyUserInfo *user_info, gboolean full)
{
GaimPresence *presence;
GaimStatus *status;
@@ -334,9 +334,9 @@
else
status_description = gaim_status_get_name(status);
- g_string_append_printf(str, _("\n<b>Status:</b> %s"), status_description);
+ gaim_notify_user_info_add_pair(user_info, _("Status"), status_description);
if (message != NULL)
- g_string_append_printf(str, _("\n<b>Message:</b> %s"), message);
+ gaim_notify_user_info_add_pair(user_info, _("Message"), message);
}
static gboolean
@@ -414,7 +414,8 @@
NULL, /* new_xfer */
NULL, /* offline_message */
NULL, /* whiteboard_prpl_ops */
- NULL, /* send_raw */
+ NULL, /* send_raw */
+ NULL, /* roomlist_room_serialize */
};
static GaimPluginInfo info =
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|