comparison 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
comparison
equal deleted inserted replaced
10228:37c411c8cde3 10229:9aa0b6d11bbf
355 * 355 *
356 * @return TRUE if running Gnome, FALSE otherwise. 356 * @return TRUE if running Gnome, FALSE otherwise.
357 */ 357 */
358 gboolean gaim_running_gnome(void); 358 gboolean gaim_running_gnome(void);
359 359
360 /**
361 * Manages drag'n'drop of files.
362 *
363 * @param sd GtkSelectionData for managing drag'n'drop
364 * @param gc Connection to be used (may be NULL if conv is not NULL)
365 * @param who Buddy name (may be NULL if conv is not NULL)
366 */
367 void gaim_dnd_file_manage(GtkSelectionData *sd, GaimAccount *account, const char *who);
368
369
360 #endif /* _GAIM_GTKUTILS_H_ */ 370 #endif /* _GAIM_GTKUTILS_H_ */