diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 5 | ||||
-rw-r--r-- | gtk/gtktreeview.c | 4 |
6 files changed, 28 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sat Dec 20 22:06:03 2003 Kristian Rietveld <kris@gtk.org> + + * gtk/gtktreeview.c (gtk_tree_view_size_allocate): do not invalidate + all of treeview when resizing (#110074, patch from Soeren Sandmann). + Fri Dec 19 23:36:00 2003 Kristian Rietveld <kris@gtk.org> Fixes #108458. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index a8ad19a0f8..5573f51b54 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Sat Dec 20 22:06:03 2003 Kristian Rietveld <kris@gtk.org> + + * gtk/gtktreeview.c (gtk_tree_view_size_allocate): do not invalidate + all of treeview when resizing (#110074, patch from Soeren Sandmann). + Fri Dec 19 23:36:00 2003 Kristian Rietveld <kris@gtk.org> Fixes #108458. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index a8ad19a0f8..5573f51b54 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Sat Dec 20 22:06:03 2003 Kristian Rietveld <kris@gtk.org> + + * gtk/gtktreeview.c (gtk_tree_view_size_allocate): do not invalidate + all of treeview when resizing (#110074, patch from Soeren Sandmann). + Fri Dec 19 23:36:00 2003 Kristian Rietveld <kris@gtk.org> Fixes #108458. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index a8ad19a0f8..5573f51b54 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Sat Dec 20 22:06:03 2003 Kristian Rietveld <kris@gtk.org> + + * gtk/gtktreeview.c (gtk_tree_view_size_allocate): do not invalidate + all of treeview when resizing (#110074, patch from Soeren Sandmann). + Fri Dec 19 23:36:00 2003 Kristian Rietveld <kris@gtk.org> Fixes #108458. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index a8ad19a0f8..5573f51b54 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Sat Dec 20 22:06:03 2003 Kristian Rietveld <kris@gtk.org> + + * gtk/gtktreeview.c (gtk_tree_view_size_allocate): do not invalidate + all of treeview when resizing (#110074, patch from Soeren Sandmann). + Fri Dec 19 23:36:00 2003 Kristian Rietveld <kris@gtk.org> Fixes #108458. diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 4222153b04..c8c2ffb2f2 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -1933,9 +1933,11 @@ gtk_tree_view_size_allocate (GtkWidget *widget, if (tree_view->priv->vadjustment->value + allocation->height - TREE_VIEW_HEADER_HEIGHT (tree_view) > tree_view->priv->height) { - dy_changed = TRUE; + double before = tree_view->priv->vadjustment->value; gtk_adjustment_set_value (tree_view->priv->vadjustment, MAX (tree_view->priv->height - tree_view->priv->vadjustment->page_size, 0)); + if (before != tree_view->priv->vadjustment->value) + dy_changed = TRUE; } gtk_adjustment_changed (tree_view->priv->vadjustment); |