mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
only start editing when activated by the left mouse button. (#106869,
Thu Dec 18 01:10:16 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_button_press): only start editing when activated by the left mouse button. (#106869, patch from Evan Martin).
This commit is contained in:
parent
c43efa516f
commit
0b3fa61b7e
@ -1,3 +1,9 @@
|
||||
Thu Dec 18 01:10:16 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_button_press): only start
|
||||
editing when activated by the left mouse button. (#106869,
|
||||
patch from Evan Martin).
|
||||
|
||||
Thu Dec 18 00:57:18 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Migrating all cell renderers to use the new instance private data
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Dec 18 01:10:16 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_button_press): only start
|
||||
editing when activated by the left mouse button. (#106869,
|
||||
patch from Evan Martin).
|
||||
|
||||
Thu Dec 18 00:57:18 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Migrating all cell renderers to use the new instance private data
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Dec 18 01:10:16 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_button_press): only start
|
||||
editing when activated by the left mouse button. (#106869,
|
||||
patch from Evan Martin).
|
||||
|
||||
Thu Dec 18 00:57:18 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Migrating all cell renderers to use the new instance private data
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Dec 18 01:10:16 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_button_press): only start
|
||||
editing when activated by the left mouse button. (#106869,
|
||||
patch from Evan Martin).
|
||||
|
||||
Thu Dec 18 00:57:18 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Migrating all cell renderers to use the new instance private data
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Dec 18 01:10:16 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_button_press): only start
|
||||
editing when activated by the left mouse button. (#106869,
|
||||
patch from Evan Martin).
|
||||
|
||||
Thu Dec 18 00:57:18 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Migrating all cell renderers to use the new instance private data
|
||||
|
@ -2099,7 +2099,7 @@ gtk_tree_view_button_press (GtkWidget *widget,
|
||||
tree_view->priv->focus_column = column;
|
||||
|
||||
/* decide if we edit */
|
||||
if (event->type == GDK_BUTTON_PRESS &&
|
||||
if (event->type == GDK_BUTTON_PRESS && event->button == 1 &&
|
||||
!(event->state & gtk_accelerator_get_default_mod_mask ()))
|
||||
{
|
||||
GtkTreePath *anchor;
|
||||
|
Loading…
Reference in New Issue
Block a user