diff options
author | Jonathan Blandford <jrb@redhat.com> | 2005-01-04 22:10:56 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2005-01-04 22:10:56 +0000 |
commit | c8bad34dafb19734e0423e91cc02cc6f4324437d (patch) | |
tree | a0a869c0b896189c03f69b52a6c69151759a9e0f /gtk/gtktreeviewcolumn.c | |
parent | 7940c635e4719195bc685a390c6feba7a1184f25 (diff) | |
download | gtk+-c8bad34dafb19734e0423e91cc02cc6f4324437d.tar.gz |
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
Diffstat (limited to 'gtk/gtktreeviewcolumn.c')
-rw-r--r-- | gtk/gtktreeviewcolumn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c index e2c5e1e4d2..843de6d986 100644 --- a/gtk/gtktreeviewcolumn.c +++ b/gtk/gtktreeviewcolumn.c @@ -1048,7 +1048,8 @@ gtk_tree_view_column_button_event (GtkWidget *widget, g_return_val_if_fail (event != NULL, FALSE); if (event->type == GDK_BUTTON_PRESS && - column->reorderable) + column->reorderable && + ((GdkEventButton *)event)->button == 1) { column->maybe_reordered = TRUE; gdk_window_get_pointer (widget->window, |