forked from AuroraMiddleware/gtk
only keep the row at the same position if the full row is visible.
2005-06-19 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (validate_visible_area): only keep the row at the same position if the full row is visible. (#304623, Jorn Baayen).
This commit is contained in:
parent
9d1a05c3b9
commit
1bdf71943f
@ -1,3 +1,9 @@
|
||||
2005-06-19 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (validate_visible_area): only keep the
|
||||
row at the same position if the full row is visible. (#304623,
|
||||
Jorn Baayen).
|
||||
|
||||
2005-06-19 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): set dy to zero
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-06-19 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (validate_visible_area): only keep the
|
||||
row at the same position if the full row is visible. (#304623,
|
||||
Jorn Baayen).
|
||||
|
||||
2005-06-19 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): set dy to zero
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-06-19 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (validate_visible_area): only keep the
|
||||
row at the same position if the full row is visible. (#304623,
|
||||
Jorn Baayen).
|
||||
|
||||
2005-06-19 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_size_allocate): set dy to zero
|
||||
|
@ -4703,8 +4703,8 @@ validate_visible_area (GtkTreeView *tree_view)
|
||||
dy = _gtk_rbtree_node_find_offset (tree, node);
|
||||
|
||||
if (dy >= tree_view->priv->vadjustment->value &&
|
||||
dy < (tree_view->priv->vadjustment->value
|
||||
+ tree_view->priv->vadjustment->page_size))
|
||||
dy + height <= (tree_view->priv->vadjustment->value
|
||||
+ tree_view->priv->vadjustment->page_size))
|
||||
{
|
||||
/* row visible: keep the row at the same position */
|
||||
area_above = dy - tree_view->priv->vadjustment->value;
|
||||
|
Loading…
Reference in New Issue
Block a user