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:
Jonathan Blandford 2005-01-04 22:10:56 +00:00 committed by Jonathan Blandford
parent 7940c635e4
commit c8bad34daf
6 changed files with 24 additions and 3 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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

View File

@ -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,