summaryrefslogtreecommitdiff
path: root/ChangeLog-20000414
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 /ChangeLog-20000414
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 'ChangeLog-20000414')
-rw-r--r--ChangeLog-2000041426
1 files changed, 26 insertions, 0 deletions
diff --git a/ChangeLog-20000414 b/ChangeLog-20000414
index 3013b601c..22920ef31 100644
--- a/ChangeLog-20000414
+++ b/ChangeLog-20000414
@@ -1,3 +1,29 @@
+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.
+
+ * libnautilus/nautilus-icon-dnd.h:
+ * libnautilus/nautilus-icon-dnd.c:
+ (nautilus_icon_dnd_update_drop_action),
+ (nautilus_icon_dnd_modifier_based_action),
+ (nautilus_icon_dnd_get_event_actions),
+ (nautilus_icon_dnd_get_event_time),
+ (nautilus_icon_dnd_source_check_selection),
+ (nautilus_icon_dnd_update),
+ (nautilus_icon_drag_key_callback),
+ (nautilus_icon_dnd_begin_drag), (drag_drop_callback):
+ Pull in a bunch of code from gtkdnd.c. Add new call to
+ allow overriding drop actions based on modifiers and the drop
+ context. Connect the "key_press_event" and "key_release_event"
+ to the copied code. All this to be able to call
+ nautilus_icon_dnd_get_event_actions instead of the broken
+ and private gtk_drag_get_event_actions.
+ I still have to add code to change the default action based
+ on the drop target between copy and move based whether the
+ source and drop containers are the same, etc.
+
2000-04-10 Andy Hertzfeld <andy@eazel.com>
* components/rpmview/nautilus-rpmview.c: