Mercurial > pidgin.yaz
diff pidgin/gtkutils.h @ 30791:c62fac7ada0d
Display the protocol icon for the authorization request dialog
instead of a question mark. Refs #5038.
The dialog is still pretty unusable, though. There should be either
a link to the user profile or a button to start a conversation (or maybe both),
but these seemingly trivial things were surprisingly tough to implement.
I think I'll return to this ticket at the end of the summer.
author | ivan.komarov@soc.pidgin.im |
---|---|
date | Wed, 26 May 2010 20:35:02 +0000 |
parents | 97005a2e99d7 |
children | 8e9b04071e79 |
line wrap: on
line diff
--- a/pidgin/gtkutils.h Sun May 23 18:28:46 2010 +0000 +++ b/pidgin/gtkutils.h Wed May 26 20:35:02 2010 +0000 @@ -715,6 +715,17 @@ void *user_data, ...) G_GNUC_NULL_TERMINATED; /** + * Does exactly what pidgin_make_mini_dialog() does, except you can specify + * a custom icon for the dialog. + */ +GtkWidget *pidgin_make_mini_dialog_with_custom_icon(PurpleConnection *gc, + GdkPixbuf *custom_icon, + const char *primary, + const char *secondary, + void *user_data, + ...) G_GNUC_NULL_TERMINATED; + +/** * This is a callback function to be used for Ctrl+F searching in treeviews. * Sample Use: * gtk_tree_view_set_search_equal_func(treeview,