comparison 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
comparison
equal deleted inserted replaced
11532:57439a383f4f 11533:c9b815aeddc1
630 return data; 630 return data;
631 } 631 }
632 632
633 static void * 633 static void *
634 gaim_gtk_notify_userinfo(GaimConnection *gc, const char *who, 634 gaim_gtk_notify_userinfo(GaimConnection *gc, const char *who,
635 const char *title, const char *primary, 635 const char *text,
636 const char *secondary, const char *text,
637 GCallback cb, void *user_data) 636 GCallback cb, void *user_data)
638 { 637 {
639 return gaim_gtk_notify_formatted(title, primary, secondary, 638 char *primary;
639 void *ui_handle;
640
641 primary = g_strdup_printf(_("Info for %s"), who);
642 ui_handle = gaim_gtk_notify_formatted(_("Buddy Information"), primary, NULL,
640 text, cb, user_data); 643 text, cb, user_data);
644 g_free(primary);
645 return ui_handle;
641 } 646 }
642 647
643 static void 648 static void
644 gaim_gtk_close_notify(GaimNotifyType type, void *ui_handle) 649 gaim_gtk_close_notify(GaimNotifyType type, void *ui_handle)
645 { 650 {