Mercurial > pidgin.yaz
diff src/gtknotify.c @ 11533:c9b815aeddc1
[gaim-migrate @ 13782]
Pushing more of the userinfo stuff to the UI. Also, fixed a notify API warning in the perl plugin.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 12 Sep 2005 20:04:37 +0000 |
parents | 9480e0d0f563 |
children | 9537977703bb |
line wrap: on
line diff
--- a/src/gtknotify.c Mon Sep 12 18:52:53 2005 +0000 +++ b/src/gtknotify.c Mon Sep 12 20:04:37 2005 +0000 @@ -632,12 +632,17 @@ static void * gaim_gtk_notify_userinfo(GaimConnection *gc, const char *who, - const char *title, const char *primary, - const char *secondary, const char *text, + const char *text, GCallback cb, void *user_data) { - return gaim_gtk_notify_formatted(title, primary, secondary, + char *primary; + void *ui_handle; + + primary = g_strdup_printf(_("Info for %s"), who); + ui_handle = gaim_gtk_notify_formatted(_("Buddy Information"), primary, NULL, text, cb, user_data); + g_free(primary); + return ui_handle; } static void