summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-icon-dnd.h
diff options
context:
space:
mode:
authorPavel Cisler <pavel@eazel.com>2000-06-02 04:04:47 +0000
committerPavel Cisler <pce@src.gnome.org>2000-06-02 04:04:47 +0000
commit2dcd63aca7f0978711b6f389c0dedff2a4240f8d (patch)
tree53cf9571b81f7f8f1fb04950b699a80724d2307e /libnautilus-private/nautilus-icon-dnd.h
parent3fb948eec4b77ef3e2cb363a3309bb82aa4ae3ad (diff)
downloadnautilus-2dcd63aca7f0978711b6f389c0dedff2a4240f8d.tar.gz
More list view drag&drop work. Move more code from nautilus-icon-dnd.c to
2000-06-01 Pavel Cisler <pavel@eazel.com> * libnautilus-extensions/nautilus-drag.h: * libnautilus-extensions/nautilus-icon-dnd.c: * libnautilus-extensions/nautilus-drag.c: * libnautilus-extensions/nautilus-list.h: * libnautilus-extensions/nautilus-icon-dnd.h: * libnautilus-extensions/nautilus-list.c: (nautilus_drag_init), (nautilus_drag_finalize), (create_selection_shadow), (set_gnome_icon_list_selection), (nautilus_icon_container_dropped_icon_feedback), (drag_data_received_callback), (nautilus_icon_container_ensure_drag_data), (drag_end_callback), (confirm_switch_to_manual_layout), (handle_local_move), (handle_nonlocal_move), (nautilus_icon_container_receive_dropped_icons), (nautilus_icon_dnd_update_drop_target), (nautilus_icon_container_free_drag_data), (nautilus_icon_dnd_init), (nautilus_icon_dnd_fini), (nautilus_icon_dnd_begin_drag), (drag_drop_callback), (nautilus_list_initialize), (nautilus_list_destroy), (nautilus_list_drag_begin), (nautilus_list_drag_data_get),: More list view drag&drop work. Move more code from nautilus-icon-dnd.c to the shared nautlus-drag.c file. Split common drag&drop state from NautilusIconDndInfo into NautilusDragInfo. * libnautilus-extensions/nautilus-list.c: (nautilus_list_drag_motion), (nautilus_list_motion): Start hooking up drag-related signals. * libnautilus-extensions/nautilus-list.c: * libnautilus-extensions/nautilus-list.h: (nautilus_list_initialize_class): Get rid of the unused START_DRAG signal.
Diffstat (limited to 'libnautilus-private/nautilus-icon-dnd.h')
-rw-r--r--libnautilus-private/nautilus-icon-dnd.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/libnautilus-private/nautilus-icon-dnd.h b/libnautilus-private/nautilus-icon-dnd.h
index 3415495a6..3e8b5f1e9 100644
--- a/libnautilus-private/nautilus-icon-dnd.h
+++ b/libnautilus-private/nautilus-icon-dnd.h
@@ -35,23 +35,8 @@
/* DnD-related information. */
typedef struct {
- GtkTargetList *target_list;
-
- /* Stuff saved at "receive data" time needed later in the drag. */
- gboolean got_drop_data_type;
- NautilusIconDndTargetType data_type;
- GtkSelectionData *selection_data;
-
- /* Start of the drag, in world coordinates. */
- gdouble start_x, start_y;
-
- /* List of DndSelectionItems, representing items being dragged, or NULL
- * if data about them has not been received from the source yet.
- */
- GList *selection_list;
-
- /* Stipple for drawing icon shadows during DnD. */
- GdkBitmap *stipple;
+ /* inherited drag info context */
+ NautilusDragInfo drag_info;
/* Shadow for the icons being dragged. */
GnomeCanvasItem *shadow;