Mercurial > pidgin.yaz
diff gtk/gtkutils.h @ 15033:ca46f41aa433
[gaim-migrate @ 17815]
buddy-list alerts. I've made the two existing account ui_ops ('so-and-so has added you' and 'would you like to add so-and-so') use this. I'll follow up with a new 'so-and-so needs you to authorize him' ui_op, and replace the gaim_request_action() calls in the appropriate prpls
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Thu, 23 Nov 2006 08:37:07 +0000 |
parents | 2d3c7f76cea0 |
children | 6cb9996fcc97 |
line wrap: on
line diff
--- a/gtk/gtkutils.h Wed Nov 22 21:33:51 2006 +0000 +++ b/gtk/gtkutils.h Thu Nov 23 08:37:07 2006 +0000 @@ -510,3 +510,16 @@ * @return A newly allocated string with unicode arrow characters */ char *gaim_gtk_make_pretty_arrows(const char *str); + +/** + * Creates a "mini-dialog" suitable for embedding in the buddy list scrollbook + * + * @param handle A handle + * @param primary The primary text + * @param secondary The secondary text + * @param user_data Data to pass to the callbacks + * @param ... a NULL-terminated list of button labels and callbacks + */ +void *gaim_gtk_make_mini_dialog(GaimConnection *handle, const char* stock_id, + const char *primary, const char *secondary, + void *user_data, ...);