summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Rietveld <kris@gtk.org>2006-05-26 00:25:12 +0000
committerKristian Rietveld <kristian@src.gnome.org>2006-05-26 00:25:12 +0000
commit348f47b2ce9e03648255f7bb4402a4abcd6efe2e (patch)
tree09327afea3ed48de4d3ca0f13a265a38361a49c4
parenta220ae37d2416b3913641df2e95974c0ece7fd99 (diff)
downloadgdk-pixbuf-348f47b2ce9e03648255f7bb4402a4abcd6efe2e.tar.gz
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).
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-2-106
-rw-r--r--gtk/gtktreeview.c2
3 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5e553f430..d3da0c36b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
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
subtract 1 from the depth when calculating the space reserved for
the expanders. (#342260, Jorg Schuler).
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 5e553f430..d3da0c36b 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,5 +1,11 @@
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
subtract 1 from the depth when calculating the space reserved for
the expanders. (#342260, Jorg Schuler).
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 08bb60c57..2511ee7be 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -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));