]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-2
add _gtk_rbtree_set_fixed_height()
[~andy/gtk] / ChangeLog.pre-2-2
index b4d61c84705b99f74b36e09879f8bc54967864be..d283f275df1c0b7cf65638447065238a14afa9e9 100644 (file)
@@ -1,3 +1,18 @@
+Wed Mar 20 22:59:23 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtkrbtree.[ch]: add _gtk_rbtree_set_fixed_height()
+
+       * gtk/gtktreeprivate.h: add fixed_height_check field
+
+       * gtk/gtktreeview.c (gtk_tree_view_init): initialize
+       scroll_sync_timer and fixed_height_check
+       (do_validate_rows): add fixed_height_check. If all validated rows
+       in the first cycle have the same height, then we set that height for
+       the entire tree. This is some sort of 'fake' optimization, but helps
+       a lot for the common case. We keep validating the entire tree in
+       the background though.
+       (gtk_tree_view_set_model): reset fixed_height_check
+
 Wed Mar 20 16:36:08 2002  Owen Taylor  <otaylor@redhat.com>
 
         * gtk/*.c: Patch from Erwann Chenede, #73900 fixing