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

Return FALSE if view does not support tighter layout.


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

	* src/file-manager/fm-icon-view.c
	(fm_icon_view_real_get_directory_tighter_layout):
	Return FALSE if view does not support tighter layout.

svn path=/trunk/; revision=14008
parent f1093fb1
2008-03-30 Christian Neumair <cneumair@gnome.org>
* src/file-manager/fm-icon-view.c
(fm_icon_view_real_get_directory_tighter_layout):
Return FALSE if view does not support tighter layout.
2008-03-30 Christian Neumair <cneumair@gnome.org>
* src/file-manager/fm-desktop-icon-view.c
......
......@@ -980,6 +980,10 @@ static gboolean
fm_icon_view_real_get_directory_tighter_layout (FMIconView *icon_view,
NautilusFile *file)
{
if (!fm_icon_view_supports_tighter_layout (icon_view)) {
return FALSE;
}
return nautilus_file_get_boolean_metadata
(file,
NAUTILUS_METADATA_KEY_ICON_VIEW_TIGHTER_LAYOUT,
......
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