mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
only reorder on button 1, part of #141937
Tue Jan 4 16:52:14 2005 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event): only reorder on button 1, part of #141937
This commit is contained in:
parent
7940c635e4
commit
c8bad34daf
@ -1,3 +1,8 @@
|
|||||||
|
Tue Jan 4 16:52:14 2005 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
|
||||||
|
only reorder on button 1, part of #141937
|
||||||
|
|
||||||
Tue Jan 4 11:36:43 2005 Søren Sandmann <sandmann@redhat.com>
|
Tue Jan 4 11:36:43 2005 Søren Sandmann <sandmann@redhat.com>
|
||||||
|
|
||||||
Bug 162112.
|
Bug 162112.
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Tue Jan 4 16:52:14 2005 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
|
||||||
|
only reorder on button 1, part of #141937
|
||||||
|
|
||||||
Tue Jan 4 11:36:43 2005 Søren Sandmann <sandmann@redhat.com>
|
Tue Jan 4 11:36:43 2005 Søren Sandmann <sandmann@redhat.com>
|
||||||
|
|
||||||
Bug 162112.
|
Bug 162112.
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Tue Jan 4 16:52:14 2005 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
|
||||||
|
only reorder on button 1, part of #141937
|
||||||
|
|
||||||
Tue Jan 4 11:36:43 2005 Søren Sandmann <sandmann@redhat.com>
|
Tue Jan 4 11:36:43 2005 Søren Sandmann <sandmann@redhat.com>
|
||||||
|
|
||||||
Bug 162112.
|
Bug 162112.
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Tue Jan 4 16:52:14 2005 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
|
||||||
|
only reorder on button 1, part of #141937
|
||||||
|
|
||||||
Tue Jan 4 11:36:43 2005 Søren Sandmann <sandmann@redhat.com>
|
Tue Jan 4 11:36:43 2005 Søren Sandmann <sandmann@redhat.com>
|
||||||
|
|
||||||
Bug 162112.
|
Bug 162112.
|
||||||
|
@ -37,8 +37,8 @@ and #GtkActionGroup.
|
|||||||
|
|
||||||
@path: The id of the message. In #GtkItemFactory this will be a path
|
@path: The id of the message. In #GtkItemFactory this will be a path
|
||||||
from a #GtkItemFactoryEntry, in #GtkActionGroup, it will be a label
|
from a #GtkItemFactoryEntry, in #GtkActionGroup, it will be a label
|
||||||
or tooltip from a #GtkActionEntry.
|
or tooltip from a #GtkActionEntry.
|
||||||
@func_data: user data passed in when registering the function
|
@func_data: user data passed in when registering the function
|
||||||
@Returns: the translated message
|
@Returns: the translated message
|
||||||
|
|
||||||
|
|
||||||
|
@ -1048,7 +1048,8 @@ gtk_tree_view_column_button_event (GtkWidget *widget,
|
|||||||
g_return_val_if_fail (event != NULL, FALSE);
|
g_return_val_if_fail (event != NULL, FALSE);
|
||||||
|
|
||||||
if (event->type == GDK_BUTTON_PRESS &&
|
if (event->type == GDK_BUTTON_PRESS &&
|
||||||
column->reorderable)
|
column->reorderable &&
|
||||||
|
((GdkEventButton *)event)->button == 1)
|
||||||
{
|
{
|
||||||
column->maybe_reordered = TRUE;
|
column->maybe_reordered = TRUE;
|
||||||
gdk_window_get_pointer (widget->window,
|
gdk_window_get_pointer (widget->window,
|
||||||
|
Loading…
Reference in New Issue
Block a user