Mercurial > pidgin.yaz
diff gtk/gtknotify.c @ 15145:94adee1cba70
[gaim-migrate @ 17930]
gtkgaim changes for GaimNotifyUserInfo introduced in [17929]
committer: Tailor Script <tailor@pidgin.im>
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Sun, 10 Dec 2006 02:53:54 +0000 |
parents | 967c39d78bc4 |
children | fe05223b5d04 |
line wrap: on
line diff
--- a/gtk/gtknotify.c Sun Dec 10 02:53:09 2006 +0000 +++ b/gtk/gtknotify.c Sun Dec 10 02:53:54 2006 +0000 @@ -841,13 +841,15 @@ static void * gaim_gtk_notify_userinfo(GaimConnection *gc, const char *who, - const char *text) + GaimNotifyUserInfo *user_info) { - char *primary; + char *primary, *info; void *ui_handle; primary = g_strdup_printf(_("Info for %s"), who); - ui_handle = gaim_gtk_notify_formatted(_("Buddy Information"), primary, NULL, text); + info = gaim_notify_user_info_get_text_with_newline(user_info, "<br />"); + ui_handle = gaim_gtk_notify_formatted(_("Buddy Information"), primary, NULL, info); + g_free(info); g_free(primary); return ui_handle; }