mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Merge from stable.
Fri Sep 12 16:32:53 2003 Jonathan Blandford <jrb@redhat.com> Merge from stable. * gtk/gtktreeview.c (gtk_tree_view_button_press): only save the pressed button (used to determine if we want to initiate a drag later on) if the current grab widget is either NULL or tree_view (Reported by Jeroen Zwartepoorte).
This commit is contained in:
parent
df1452102e
commit
9ded36af54
@ -1,3 +1,12 @@
|
||||
Fri Sep 12 16:32:53 2003 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
Merge from stable.
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_button_press): only save the
|
||||
pressed button (used to determine if we want to initiate a drag later
|
||||
on) if the current grab widget is either NULL or tree_view (Reported
|
||||
by Jeroen Zwartepoorte).
|
||||
|
||||
2003-09-12 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/gdkdraw.c (gdk_draw_string, gdk_draw_text)
|
||||
|
@ -1,3 +1,12 @@
|
||||
Fri Sep 12 16:32:53 2003 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
Merge from stable.
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_button_press): only save the
|
||||
pressed button (used to determine if we want to initiate a drag later
|
||||
on) if the current grab widget is either NULL or tree_view (Reported
|
||||
by Jeroen Zwartepoorte).
|
||||
|
||||
2003-09-12 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/gdkdraw.c (gdk_draw_string, gdk_draw_text)
|
||||
|
@ -1,3 +1,12 @@
|
||||
Fri Sep 12 16:32:53 2003 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
Merge from stable.
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_button_press): only save the
|
||||
pressed button (used to determine if we want to initiate a drag later
|
||||
on) if the current grab widget is either NULL or tree_view (Reported
|
||||
by Jeroen Zwartepoorte).
|
||||
|
||||
2003-09-12 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/gdkdraw.c (gdk_draw_string, gdk_draw_text)
|
||||
|
@ -1,3 +1,12 @@
|
||||
Fri Sep 12 16:32:53 2003 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
Merge from stable.
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_button_press): only save the
|
||||
pressed button (used to determine if we want to initiate a drag later
|
||||
on) if the current grab widget is either NULL or tree_view (Reported
|
||||
by Jeroen Zwartepoorte).
|
||||
|
||||
2003-09-12 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/gdkdraw.c (gdk_draw_string, gdk_draw_text)
|
||||
|
@ -1,3 +1,12 @@
|
||||
Fri Sep 12 16:32:53 2003 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
Merge from stable.
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_button_press): only save the
|
||||
pressed button (used to determine if we want to initiate a drag later
|
||||
on) if the current grab widget is either NULL or tree_view (Reported
|
||||
by Jeroen Zwartepoorte).
|
||||
|
||||
2003-09-12 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gdk/gdkdraw.c (gdk_draw_string, gdk_draw_text)
|
||||
|
@ -1991,6 +1991,7 @@ gtk_tree_view_button_press (GtkWidget *widget,
|
||||
gint column_handled_click = FALSE;
|
||||
gboolean row_double_click = FALSE;
|
||||
gboolean rtl;
|
||||
GtkWidget *grab_widget;
|
||||
|
||||
/* are we in an arrow? */
|
||||
if (tree_view->priv->prelight_node &&
|
||||
@ -2186,7 +2187,9 @@ gtk_tree_view_button_press (GtkWidget *widget,
|
||||
|
||||
/* Save press to possibly begin a drag
|
||||
*/
|
||||
if (!column_handled_click &&
|
||||
grab_widget = gtk_grab_get_current ();
|
||||
if ((grab_widget == NULL || grab_widget == tree_view) &&
|
||||
!column_handled_click &&
|
||||
tree_view->priv->pressed_button < 0)
|
||||
{
|
||||
tree_view->priv->pressed_button = event->button;
|
||||
|
Loading…
Reference in New Issue
Block a user