summaryrefslogtreecommitdiff
path: root/libnautilus-extensions/nautilus-drag.h
diff options
context:
space:
mode:
authorMathieu Lacage <mathieu@eazel.com>2000-11-14 01:38:06 +0000
committerMathieu Lacage <mathieu@src.gnome.org>2000-11-14 01:38:06 +0000
commitaf7bef76b8b1ba3437119afa9456ac110203a948 (patch)
tree69ce18f20136d18696b63bb8fad352d314341d68 /libnautilus-extensions/nautilus-drag.h
parent5108ef7855232aa95e995315f8f8e832a6349e1d (diff)
downloadnautilus-af7bef76b8b1ba3437119afa9456ac110203a948.tar.gz
Buddy: pavel. Fix bug 2422 and 4382.
2000-11-13 Mathieu Lacage <mathieu@eazel.com> Buddy: pavel. Fix bug 2422 and 4382. * components/tree/nautilus-tree-view.c: (filtering_changed_callback), (collapse_time_callback): added. collapses opened folders when you leave the tree view. (nautilus_tree_view_drag_leave): make it call tree_view_drag_destroy (nautilus_tree_view_drag_motion): cleanup, make it call tree_view_drag_destroy_real (nautilus_tree_view_drag_drop): spaces. (nautilus_tree_view_drag_data_received): cleanup: make it call tree_view_drag_destroy. (nautilus_dump_info): cleanup. (expand_time_callback): cleanup. (nautilus_tree_view_expand_maybe_later): cleanup (nautilus_tree_view_collapse_all): cleanup. (nautilus_tree_view_receive_dropped_icons): make it collapse correctly. (nautilus_tree_view_prelight_stop): new function: clears prelighting. (nautilus_tree_view_drag_destroy): new function: destroys when drag finished. (nautilus_tree_view_drag_destroy_real): new function: destroys when drag begins. * docs/dnd.txt: add some thoughts. * libnautilus-extensions/nautilus-drag.c: (nautilus_drag_init): init new field. * libnautilus-extensions/nautilus-drag.h: add shared field to public structure.
Diffstat (limited to 'libnautilus-extensions/nautilus-drag.h')
-rw-r--r--libnautilus-extensions/nautilus-drag.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libnautilus-extensions/nautilus-drag.h b/libnautilus-extensions/nautilus-drag.h
index 76c6b0ef3..56abfdc17 100644
--- a/libnautilus-extensions/nautilus-drag.h
+++ b/libnautilus-extensions/nautilus-drag.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/* nautilus-drag.h - Common Drag & drop handling code shared by the icon container
and the list view.
@@ -77,6 +78,9 @@ typedef struct {
/* has the drop occured ? */
gboolean drop_occured;
+ /* whether or not need to clean up the previous dnd data */
+ gboolean need_to_destroy;
+
/* autoscrolling during dragging */
int auto_scroll_timeout_id;
gboolean waiting_to_autoscroll;