comparison pidgin/gtkutils.h @ 30909:25e200cb3532

propagate from branch 'im.pidgin.pidgin' (head dca20e09164518b0f7a773edd7e9649f41d8873d) to branch 'im.pidgin.cpw.malu.xmpp.google_refactor' (head 7823c556f2d1bbca43f5ef9f0fea30cabc5d313f)
author Marcus Lundblad <ml@update.uu.se>
date Tue, 31 Aug 2010 18:28:10 +0000
parents 8e9b04071e79
children c5ba7dd399fa 917c597beb97
comparison
equal deleted inserted replaced
30908:c44ec533a48c 30909:25e200cb3532
408 * 408 *
409 * @param path The path entered in the file selection window by the user. 409 * @param path The path entered in the file selection window by the user.
410 * @param filesel The file selection window. 410 * @param filesel The file selection window.
411 * 411 *
412 * @return TRUE if given path is a directory, FALSE otherwise. 412 * @return TRUE if given path is a directory, FALSE otherwise.
413 * @deprecated Pidgin no longer uses GtkFileSelection internally. It has also
414 * been deprecated by GTK+. Use GtkFileChooser instead and ignore
415 * this function.
413 */ 416 */
414 gboolean pidgin_check_if_dir(const char *path, GtkFileSelection *filesel); 417 gboolean pidgin_check_if_dir(const char *path, GtkFileSelection *filesel);
415 418
416 /** 419 /**
417 * Sets up GtkSpell for the given GtkTextView, reporting errors 420 * Sets up GtkSpell for the given GtkTextView, reporting errors
713 GtkWidget *pidgin_make_mini_dialog(PurpleConnection *handle, 716 GtkWidget *pidgin_make_mini_dialog(PurpleConnection *handle,
714 const char* stock_id, const char *primary, const char *secondary, 717 const char* stock_id, const char *primary, const char *secondary,
715 void *user_data, ...) G_GNUC_NULL_TERMINATED; 718 void *user_data, ...) G_GNUC_NULL_TERMINATED;
716 719
717 /** 720 /**
721 * Does exactly what pidgin_make_mini_dialog() does, except you can specify
722 * a custom icon for the dialog.
723 */
724 GtkWidget *pidgin_make_mini_dialog_with_custom_icon(PurpleConnection *gc,
725 GdkPixbuf *custom_icon,
726 const char *primary,
727 const char *secondary,
728 void *user_data,
729 ...) G_GNUC_NULL_TERMINATED;
730
731 /**
718 * This is a callback function to be used for Ctrl+F searching in treeviews. 732 * This is a callback function to be used for Ctrl+F searching in treeviews.
719 * Sample Use: 733 * Sample Use:
720 * gtk_tree_view_set_search_equal_func(treeview, 734 * gtk_tree_view_set_search_equal_func(treeview,
721 * pidgin_tree_view_search_equal_func, 735 * pidgin_tree_view_search_equal_func,
722 * search_data, search_data_destroy_cb); 736 * search_data, search_data_destroy_cb);