summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alla@lysator.liu.se>2002-03-10 05:24:02 +0000
committerAlexander Larsson <alexl@src.gnome.org>2002-03-10 05:24:02 +0000
commitea95001e71e1876134443f2f06baec6623e5e559 (patch)
tree68da41e6e36a675e81707aa160e3de2155d52636
parent3904a6e18510e20401ab396f29057b676f326f98 (diff)
downloadnautilus-ea95001e71e1876134443f2f06baec6623e5e559.tar.gz
Pass event->event to gtk_drag_begin in order get the right time for the
2002-03-10 Alexander Larsson <alla@lysator.liu.se> * src/nautilus-property-browser.c (element_clicked_callback): Pass event->event to gtk_drag_begin in order get the right time for the grab. This avoids a race with the ungrab that could lead to stuck grabs.
-rw-r--r--ChangeLog7
-rw-r--r--src/nautilus-property-browser.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 908d01c73..f8ef394ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-03-10 Alexander Larsson <alla@lysator.liu.se>
+
+ * src/nautilus-property-browser.c (element_clicked_callback):
+ Pass event->event to gtk_drag_begin in order get the right time
+ for the grab. This avoids a race with the ungrab that could lead
+ to stuck grabs.
+
2002-03-09 jacob berkman <jacob@ximian.com>
* nautilus.desktop.in (Exec): run-nautilus is no more, so just run
diff --git a/src/nautilus-property-browser.c b/src/nautilus-property-browser.c
index bf46b6dc6..d8c6c3886 100644
--- a/src/nautilus-property-browser.c
+++ b/src/nautilus-property-browser.c
@@ -1491,7 +1491,7 @@ element_clicked_callback (GtkWidget *image_table,
target_list,
GDK_ACTION_MOVE | GDK_ACTION_COPY,
event->button,
- NULL);
+ event->event);
/* compute the offsets for dragging */
if (strcmp (drag_types[0].target, "application/x-color")) {