From 67ce5f3b140525c2f5944270a9383616f9d67923 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 8 Feb 2010 14:52:18 -0500 Subject: Add DnD support to e-selection.c. Avoid listing calendar and directory targets explicitly, so that e-selection.c contains the one and only master list. Still need to figure out how to centralize "text/x-source-vcard". --- e-util/e-selection.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'e-util/e-selection.h') diff --git a/e-util/e-selection.h b/e-util/e-selection.h index 2c59d3d641..f179180cd9 100644 --- a/e-util/e-selection.h +++ b/e-util/e-selection.h @@ -114,6 +114,21 @@ gboolean e_clipboard_wait_is_directory_available gboolean e_clipboard_wait_is_html_available (GtkClipboard *clipboard); +/* Drag and Drop Functions */ + +void e_drag_dest_add_calendar_targets + (GtkWidget *widget); +void e_drag_dest_add_directory_targets + (GtkWidget *widget); +void e_drag_dest_add_html_targets + (GtkWidget *widget); +void e_drag_source_add_calendar_targets + (GtkWidget *widget); +void e_drag_source_add_directory_targets + (GtkWidget *widget); +void e_drag_source_add_html_targets + (GtkWidget *widget); + G_END_DECLS #endif /* E_SELECTION_H */ -- cgit