# HG changeset patch # User Mark Doliner # Date 1165741368 0 # Node ID ff431329a01b1486580735a78edd8c15ca981652 # Parent 7696f5dec7d8f53696163672681621293a015258 [gaim-migrate @ 17941] Update Bonjour to use Evan's snazzy new notify_user_info stuff committer: Tailor Script diff -r 7696f5dec7d8 -r ff431329a01b libgaim/protocols/bonjour/bonjour.c --- a/libgaim/protocols/bonjour/bonjour.c Sun Dec 10 09:02:47 2006 +0000 +++ b/libgaim/protocols/bonjour/bonjour.c Sun Dec 10 09:02:48 2006 +0000 @@ -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, _("\nStatus: %s"), status_description); + gaim_notify_user_info_add_pair(user_info, _("Status"), status_description); if (message != NULL) - g_string_append_printf(str, _("\nMessage: %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 =