summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-12-20 18:21:21 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-12-20 18:21:21 +0000
commit5578b919686777d518fdd76317847a89c4eb0cd2 (patch)
tree98a4c23d0e7717aa3a8d232e3f0b9d8a4e5b2976
parent960b82eb29c7d984ee7863a6e86229a9bf9e7852 (diff)
downloadgtk+-5578b919686777d518fdd76317847a89c4eb0cd2.tar.gz
Reset pressed_button to -1 after handling a double click, so that motion
2005-12-20 Matthias Clasen <mclasen@redhat.com> * gtk/gtkiconview.c (gtk_icon_view_button_press): Reset pressed_button to -1 after handling a double click, so that motion events occurring between here and the release event don't trigger DND. (#324588, Dave Andreoli)
-rw-r--r--ChangeLog7
-rw-r--r--ChangeLog.pre-2-107
-rw-r--r--gtk/gtkiconview.c1
3 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ee4815fd69..5878d8d2fa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-12-20 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkiconview.c (gtk_icon_view_button_press): Reset
+ pressed_button to -1 after handling a double click, so that
+ motion events occurring between here and the release event
+ don't trigger DND. (#324588, Dave Andreoli)
+
2005-12-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderer.c:
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index ee4815fd69..5878d8d2fa 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,10 @@
+2005-12-20 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkiconview.c (gtk_icon_view_button_press): Reset
+ pressed_button to -1 after handling a double click, so that
+ motion events occurring between here and the release event
+ don't trigger DND. (#324588, Dave Andreoli)
+
2005-12-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellrenderer.c:
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index d5b680a7a2..3e12cab2bf 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -1968,6 +1968,7 @@ gtk_icon_view_button_press (GtkWidget *widget,
}
icon_view->priv->last_single_clicked = NULL;
+ icon_view->priv->pressed_button = -1;
}
if (dirty)