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:
parent
7bae68f0b7
commit
e230adcfa0
3 changed files with 13 additions and 1 deletions
|
|
@ -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_top_row_to_dy): set dy to
|
||||
|
|
|
|||
|
|
@ -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_top_row_to_dy): set dy to
|
||||
|
|
|
|||
|
|
@ -8533,7 +8533,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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue