queue a redraw for the full width of the row, not just the width we got

2006-05-26  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): queue a redraw
	for the full width of the row, not just the width we got allocated.
	(Fixes #333284, reported by Benjamin Berg).
This commit is contained in:
Kristian Rietveld
2006-05-26 00:25:12 +00:00
committed by Kristian Rietveld
parent a220ae37d2
commit 348f47b2ce
3 changed files with 13 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2006-05-26 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): queue a redraw
for the full width of the row, not just the width we got allocated.
(Fixes #333284, reported by Benjamin Berg).
2006-05-26 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_get_cell_area): We shouldn't

View File

@@ -1,3 +1,9 @@
2006-05-26 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): queue a redraw
for the full width of the row, not just the width we got allocated.
(Fixes #333284, reported by Benjamin Berg).
2006-05-26 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_get_cell_area): We shouldn't

View File

@@ -8405,7 +8405,7 @@ gtk_tree_view_queue_draw_arrow (GtkTreeView *tree_view,
return;
rect.x = 0;
rect.width = MAX (tree_view->priv->expander_size, GTK_WIDGET (tree_view)->allocation.width);
rect.width = MAX (tree_view->priv->expander_size, tree_view->priv->width);
rect.y = BACKGROUND_FIRST_PIXEL (tree_view, tree, node);
rect.height = ROW_HEIGHT (tree_view, BACKGROUND_HEIGHT (node));