diff options
author | Kristian Rietveld <kris@gtk.org> | 2003-09-02 19:13:54 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2003-09-02 19:13:54 +0000 |
commit | ed7926ac39b809a2824cd6d33be792a3fc95dd9a (patch) | |
tree | 4241725d405f040e526ff1bf56c7c57678c45f83 | |
parent | 1fbf45667e07cca5c038f66a76e6b8e7da9d8f66 (diff) | |
download | gdk-pixbuf-ed7926ac39b809a2824cd6d33be792a3fc95dd9a.tar.gz |
revert the change to only select when button 1 is pressed introduced in
Tue Sep 2 21:01:19 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): revert the change
to only select when button 1 is pressed introduced in the fix of
bug #120187.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 6 | ||||
-rw-r--r-- | gtk/gtktreeview.c | 5 |
6 files changed, 32 insertions, 3 deletions
@@ -1,3 +1,9 @@ +Tue Sep 2 21:01:19 2003 Kristian Rietveld <kris@gtk.org> + + * gtk/gtktreeview.c (gtk_tree_view_button_press): revert the change + to only select when button 1 is pressed introduced in the fix of + bug #120187. + 2003-08-29 Laurent Dhima <laurenti@alblinux.net> * configure.in: Added "sq" to ALL_LINGUAS. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index f48ab33fc..8896bd6c8 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Tue Sep 2 21:01:19 2003 Kristian Rietveld <kris@gtk.org> + + * gtk/gtktreeview.c (gtk_tree_view_button_press): revert the change + to only select when button 1 is pressed introduced in the fix of + bug #120187. + 2003-08-29 Laurent Dhima <laurenti@alblinux.net> * configure.in: Added "sq" to ALL_LINGUAS. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index f48ab33fc..8896bd6c8 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Tue Sep 2 21:01:19 2003 Kristian Rietveld <kris@gtk.org> + + * gtk/gtktreeview.c (gtk_tree_view_button_press): revert the change + to only select when button 1 is pressed introduced in the fix of + bug #120187. + 2003-08-29 Laurent Dhima <laurenti@alblinux.net> * configure.in: Added "sq" to ALL_LINGUAS. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index f48ab33fc..8896bd6c8 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Tue Sep 2 21:01:19 2003 Kristian Rietveld <kris@gtk.org> + + * gtk/gtktreeview.c (gtk_tree_view_button_press): revert the change + to only select when button 1 is pressed introduced in the fix of + bug #120187. + 2003-08-29 Laurent Dhima <laurenti@alblinux.net> * configure.in: Added "sq" to ALL_LINGUAS. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index f48ab33fc..8896bd6c8 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Tue Sep 2 21:01:19 2003 Kristian Rietveld <kris@gtk.org> + + * gtk/gtktreeview.c (gtk_tree_view_button_press): revert the change + to only select when button 1 is pressed introduced in the fix of + bug #120187. + 2003-08-29 Laurent Dhima <laurenti@alblinux.net> * configure.in: Added "sq" to ALL_LINGUAS. diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 27bdb7a5a..90872722e 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -2056,10 +2056,9 @@ gtk_tree_view_button_press (GtkWidget *widget, /* select */ pre_val = tree_view->priv->vadjustment->value; - /* we only handle selection modifications from the first button on - * the first button press + /* we only handle selection modifications on the first button press */ - if (event->type == GDK_BUTTON_PRESS && event->button == 1) + if (event->type == GDK_BUTTON_PRESS) { if ((event->state & GDK_CONTROL_MASK) == GDK_CONTROL_MASK) tree_view->priv->ctrl_pressed = TRUE; |