[maemo-commits] [maemo-commits] /trunk/gtk+/ - tko - r3978

From: www-data www-data at stage.maemo.org
Date: Thu Apr 27 15:31:34 EEST 2006
N#25311: Queue redraws only for visible nodes, not the whole widget

2006-04-27  Kristian Rietveld  <kris at imendio.com>

	* gtk/gtktreeview.c (node_is_visible): new function,
	(validate_visible_area): when a node is validated, only queue a
	redraw for that node, not for the entire widget (a redraw for the
	entire widget is only needed when the sizes change, and
	_queue_resize() will take care of that),
	(do_validate_rows): do not queue a redraw, redraws are only needed
	for changes in the visible area and validate_visible_area() takes
	care of that,
	(gtk_tree_view_row_inserted): for fixed height mode, only queue
	a resize and redraw if the node is visible, else no redraw is needed.
	N#25311


U   projects/haf/trunk/gtk+/ChangeLog
U   projects/haf/trunk/gtk+/gtk/gtktreeview.c

URL: https://stage.maemo.org/viewcvs.cgi?view=rev&root=maemo&rev=3978

/trunk/gtk+/

More information about the maemo-commits mailing list