diff src/request.h @ 13269:3638606a5afa

[gaim-migrate @ 15635] Reverting the request folder stuff, because it uses GtkFileChooser, which was added in GTK+ 2.4. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 13 Feb 2006 04:11:39 +0000
parents f3ae450fb947
children a651bfe0a922
line wrap: on
line diff
--- a/src/request.h	Mon Feb 13 03:49:57 2006 +0000
+++ b/src/request.h	Mon Feb 13 04:11:39 2006 +0000
@@ -42,8 +42,7 @@
 	GAIM_REQUEST_CHOICE,     /**< Multiple-choice request.   */
 	GAIM_REQUEST_ACTION,     /**< Action request.            */
 	GAIM_REQUEST_FIELDS,     /**< Multiple fields request.   */
-	GAIM_REQUEST_FILE,       /**< File open or save request. */
-	GAIM_REQUEST_FOLDER      /**< Folder selection request.  */
+	GAIM_REQUEST_FILE        /**< File open or save request. */
 
 } GaimRequestType;
 
@@ -206,9 +205,6 @@
 						  gboolean savedialog, GCallback ok_cb,
 						  GCallback cancel_cb, void *user_data);
 	void (*close_request)(GaimRequestType type, void *ui_handle);
-	void *(*request_folder)(const char *title, const char *dirname,
-							GCallback ok_cb, GCallback cancel_cb,
-							void *user_data);
 } GaimRequestUiOps;
 
 typedef void (*GaimRequestInputCb)(void *, const char *);
@@ -1375,25 +1371,6 @@
 						GCallback ok_cb, GCallback cancel_cb,
 						void *user_data);
 
-/**
- * Displays a folder select dialog. Returns the selected filename to
- * the callback.
- *
- * @param handle      The plugin or connection handle.  For some
- *                    things this is EXTREMELY important.  See
- *                    the comments on gaim_request_input.
- * @param title       The title for the dialog (may be @c NULL)
- * @param dirname     The default directory name (may be @c NULL)
- * @param ok_cb       The callback for the @c OK button.
- * @param cancel_cb   The callback for the @c Cancel button.
- * @param user_data   The data to pass to the callback.
- *
- * @return A UI-specific handle.
- */
-void *gaim_request_folder(void *handle, const char *title, const char *dirname,
-						  GCallback ok_cb, GCallback cancel_cb,
-						  void *user_data);
-
 /*@}*/
 
 /**************************************************************************/