Fix #130846, reported by R. McFarland <rwmcfa1@neces.com>.

2004-01-20  Federico Mena Quintero  <federico@ximian.com>

	Fix #130846, reported by R. McFarland <rwmcfa1@neces.com>.

	* gtk/gtktreeview.c (gtk_tree_view_button_press): Return TRUE when
	we handle an event in the colums, and FALSE at the end if the
	event is not handled at all.
This commit is contained in:
Federico Mena Quintero 2004-02-02 22:53:02 +00:00 committed by Matthias Clasen
parent f744d5aa33
commit f480c797cd
6 changed files with 43 additions and 3 deletions

View File

@ -1,3 +1,11 @@
2004-01-20 Federico Mena Quintero <federico@ximian.com>
Fix #130846, reported by R. McFarland <rwmcfa1@neces.com>.
* gtk/gtktreeview.c (gtk_tree_view_button_press): Return TRUE when
we handle an event in the colums, and FALSE at the end if the
event is not handled at all.
Mon Feb 2 23:41:48 2004 Matthias Clasen <maclas@gmx.de> Mon Feb 2 23:41:48 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed): * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):

View File

@ -1,3 +1,11 @@
2004-01-20 Federico Mena Quintero <federico@ximian.com>
Fix #130846, reported by R. McFarland <rwmcfa1@neces.com>.
* gtk/gtktreeview.c (gtk_tree_view_button_press): Return TRUE when
we handle an event in the colums, and FALSE at the end if the
event is not handled at all.
Mon Feb 2 23:41:48 2004 Matthias Clasen <maclas@gmx.de> Mon Feb 2 23:41:48 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed): * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):

View File

@ -1,3 +1,11 @@
2004-01-20 Federico Mena Quintero <federico@ximian.com>
Fix #130846, reported by R. McFarland <rwmcfa1@neces.com>.
* gtk/gtktreeview.c (gtk_tree_view_button_press): Return TRUE when
we handle an event in the colums, and FALSE at the end if the
event is not handled at all.
Mon Feb 2 23:41:48 2004 Matthias Clasen <maclas@gmx.de> Mon Feb 2 23:41:48 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed): * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):

View File

@ -1,3 +1,11 @@
2004-01-20 Federico Mena Quintero <federico@ximian.com>
Fix #130846, reported by R. McFarland <rwmcfa1@neces.com>.
* gtk/gtktreeview.c (gtk_tree_view_button_press): Return TRUE when
we handle an event in the colums, and FALSE at the end if the
event is not handled at all.
Mon Feb 2 23:41:48 2004 Matthias Clasen <maclas@gmx.de> Mon Feb 2 23:41:48 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed): * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):

View File

@ -1,3 +1,11 @@
2004-01-20 Federico Mena Quintero <federico@ximian.com>
Fix #130846, reported by R. McFarland <rwmcfa1@neces.com>.
* gtk/gtktreeview.c (gtk_tree_view_button_press): Return TRUE when
we handle an event in the colums, and FALSE at the end if the
event is not handled at all.
Mon Feb 2 23:41:48 2004 Matthias Clasen <maclas@gmx.de> Mon Feb 2 23:41:48 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed): * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):

View File

@ -2327,7 +2327,7 @@ gtk_tree_view_button_press (GtkWidget *widget,
gtk_tree_view_column_get_sizing (column) != GTK_TREE_VIEW_COLUMN_AUTOSIZE) gtk_tree_view_column_get_sizing (column) != GTK_TREE_VIEW_COLUMN_AUTOSIZE)
{ {
_gtk_tree_view_column_autosize (tree_view, column); _gtk_tree_view_column_autosize (tree_view, column);
break; return TRUE;
} }
if (gdk_pointer_grab (column->window, FALSE, if (gdk_pointer_grab (column->window, FALSE,
@ -2355,10 +2355,10 @@ gtk_tree_view_button_press (GtkWidget *widget,
tree_view->priv->drag_pos = i; tree_view->priv->drag_pos = i;
tree_view->priv->x_drag = column->button->allocation.x + (rtl ? 0 : column->button->allocation.width); tree_view->priv->x_drag = column->button->allocation.x + (rtl ? 0 : column->button->allocation.width);
break; return TRUE;
} }
} }
return TRUE; return FALSE;
} }
/* GtkWidget::button_release_event helper */ /* GtkWidget::button_release_event helper */