Commit a850772d authored by Christian Neumair's avatar Christian Neumair Committed by Christian Neumair

Do not make x2/y2 smaller than x1/y1. Fixes flashing scrollbar for empty

2008-04-03  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-icon-container.c
	(nautilus_icon_container_update_scroll_region):
	Do not make x2/y2 smaller than x1/y1. Fixes flashing scrollbar
	for empty container.

svn path=/trunk/; revision=14031
parent b5ad144f
2008-04-03 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-icon-container.c
(nautilus_icon_container_update_scroll_region):
Do not make x2/y2 smaller than x1/y2. Fixes flashing scrollbar
for empty container.
2008-04-03 Tomas Bzatek <tbzatek@redhat.com>
* libnautilus-private/nautilus-file.c: (update_info_internal):
......
......@@ -869,7 +869,10 @@ nautilus_icon_container_update_scroll_region (NautilusIconContainer *container)
}
x2 -= 1;
x2 = MAX(x1, x2);
y2 -= 1;
y2 = MAX(y1, y2);
/* for horizontal layouts, we add a bottom border.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment