r339: The menu key bindings are now only saved if they actually changed.
[rox-filer.git] / ROX-Filer / src / dnd.h
blobfd791a9172ff0225cd70df5e29cc1f28f281c359
1 /*
2 * $Id$
4 * ROX-Filer, filer for the ROX desktop project
5 * By Thomas Leonard, <tal197@users.sourceforge.net>.
6 */
8 #ifndef _DND_H
9 #define _DND_H
11 #include <gtk/gtk.h>
12 #include "collection.h"
14 extern gboolean o_no_hostnames;
15 extern char *drop_dest_prog;
16 extern char *drop_dest_dir;
17 extern GdkAtom XdndDirectSave0;
18 extern GdkAtom text_uri_list;
19 extern GdkAtom _rox_run_action;
20 extern GdkAtom application_octet_stream;
22 void drag_selection(GtkWidget *widget, GdkEventMotion *event, guchar *uri_list);
23 void drag_one_item(GtkWidget *widget,
24 GdkEventMotion *event,
25 guchar *full_path,
26 DirItem *item,
27 gboolean set_run_action);
28 void drag_data_get(GtkWidget *widget,
29 GdkDragContext *context,
30 GtkSelectionData *selection_data,
31 guint info,
32 guint32 time,
33 gpointer data);
34 void make_drop_target(GtkWidget *widget);
35 void drag_set_dest(FilerWindow *filer_window);
36 void drag_set_pinboard_dest(GtkWidget *widget);
37 void dnd_init();
38 GtkWidget *create_dnd_options();
39 gboolean provides(GdkDragContext *context, GdkAtom target);
41 void dnd_spring_load(GdkDragContext *context);
42 void dnd_spring_abort(void);
44 #endif /* _DND_H */