summaryrefslogtreecommitdiff
path: root/libnautilus-extensions/nautilus-icon-dnd.h
diff options
context:
space:
mode:
authorPavel Cisler <pavel@eazel.com>2000-04-11 02:39:07 +0000
committerPavel Cisler <pce@src.gnome.org>2000-04-11 02:39:07 +0000
commitd879994075d9d66454acd0332fe12ced75ceabb5 (patch)
tree16107ea368bf7c5e34672bbd55c72c059910e4d2 /libnautilus-extensions/nautilus-icon-dnd.h
parent71413dc21976fde9fd274b0d8e4e656be54d2b14 (diff)
downloadnautilus-d879994075d9d66454acd0332fe12ced75ceabb5.tar.gz
Nasty hack to allow drag&drop actions to respond to modifier keys and the
2000-04-10 Pavel Cisler <pavel@eazel.com> Nasty hack to allow drag&drop actions to respond to modifier keys and the drop context properly. This will one day get fixed by adding proper hooks to Gtk+ and using them. For now we have to do this.
Diffstat (limited to 'libnautilus-extensions/nautilus-icon-dnd.h')
-rw-r--r--libnautilus-extensions/nautilus-icon-dnd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libnautilus-extensions/nautilus-icon-dnd.h b/libnautilus-extensions/nautilus-icon-dnd.h
index 0da67ce12..f75b9aed8 100644
--- a/libnautilus-extensions/nautilus-icon-dnd.h
+++ b/libnautilus-extensions/nautilus-icon-dnd.h
@@ -71,6 +71,14 @@ struct NautilusIconDndInfo {
/* Shadow for the icons being dragged. */
GnomeCanvasItem *shadow;
+
+
+ /* During drag&drop keep a saved pointer to the private drag context.
+ * This is a hack-workaround to deal with the inability to override
+ * drag action feedback in gtk and will be removed once the appropriate
+ * interface gets added to gtkdnd to do this in a clean way
+ */
+ gpointer saved_drag_source_info;
};
void nautilus_icon_dnd_init (NautilusIconContainer *container,
@@ -82,4 +90,6 @@ void nautilus_icon_dnd_begin_drag (NautilusIconContainer *container,
GdkEventMotion *event);
void nautilus_icon_dnd_end_drag (NautilusIconContainer *container);
+void nautilus_icon_dnd_update_drop_action (GtkWidget *widget);
+
#endif /* NAUTILUS_ICON_DND_H */