mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +00:00
do not invalidate all of treeview when resizing (#110074, patch from
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).
This commit is contained in:
parent
807bce8170
commit
5f65142b3c
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user