comparison 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
comparison
equal deleted inserted replaced
30790:674a656893a3 30791:c62fac7ada0d
713 GtkWidget *pidgin_make_mini_dialog(PurpleConnection *handle, 713 GtkWidget *pidgin_make_mini_dialog(PurpleConnection *handle,
714 const char* stock_id, const char *primary, const char *secondary, 714 const char* stock_id, const char *primary, const char *secondary,
715 void *user_data, ...) G_GNUC_NULL_TERMINATED; 715 void *user_data, ...) G_GNUC_NULL_TERMINATED;
716 716
717 /** 717 /**
718 * Does exactly what pidgin_make_mini_dialog() does, except you can specify
719 * a custom icon for the dialog.
720 */
721 GtkWidget *pidgin_make_mini_dialog_with_custom_icon(PurpleConnection *gc,
722 GdkPixbuf *custom_icon,
723 const char *primary,
724 const char *secondary,
725 void *user_data,
726 ...) G_GNUC_NULL_TERMINATED;
727
728 /**
718 * This is a callback function to be used for Ctrl+F searching in treeviews. 729 * This is a callback function to be used for Ctrl+F searching in treeviews.
719 * Sample Use: 730 * Sample Use:
720 * gtk_tree_view_set_search_equal_func(treeview, 731 * gtk_tree_view_set_search_equal_func(treeview,
721 * pidgin_tree_view_search_equal_func, 732 * pidgin_tree_view_search_equal_func,
722 * search_data, search_data_destroy_cb); 733 * search_data, search_data_destroy_cb);