diff src/gtkutils.h @ 10229:9aa0b6d11bbf

[gaim-migrate @ 11364] This is a heavily warmenhoved patch from Alceste Scalas. Here's what it changes: If the user drags an image file into the buddy list or conversation, it presents three options (when applicable): Set as buddy icon - sets this image to be the buddy icon for this buddy Send image file - Initiates a file transfer to send this image. Insert in message - Inserts in the gtkimhtml for use as an IM image. If the user drags a .desktop web link, it will insert a hyperlink in the conversation. All other types of .desktop files fail with an error dialog. If anyone can think of better ways to handle any of them, let me know. This also happens to implement gaim_request_choice, which had previously been unimplemented. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 22 Nov 2004 02:57:34 +0000
parents 9d03dd6ccc9a
children e8d62dc363c5
line wrap: on
line diff
--- a/src/gtkutils.h	Sun Nov 21 20:36:15 2004 +0000
+++ b/src/gtkutils.h	Mon Nov 22 02:57:34 2004 +0000
@@ -357,4 +357,14 @@
  */
 gboolean gaim_running_gnome(void);
 
+/**
+ * Manages drag'n'drop of files.
+ *
+ * @param sd GtkSelectionData for managing drag'n'drop
+ * @param gc Connection to be used (may be NULL if conv is not NULL)
+ * @param who Buddy name (may be NULL if conv is not NULL)
+ */
+void gaim_dnd_file_manage(GtkSelectionData *sd, GaimAccount *account, const char *who);
+
+
 #endif /* _GAIM_GTKUTILS_H_ */