nautilus r14008 - in trunk: . src/file-manager



Author: cneumair
Date: Sun Mar 30 21:38:17 2008
New Revision: 14008
URL: http://svn.gnome.org/viewvc/nautilus?rev=14008&view=rev

Log:

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.


Modified:
   trunk/ChangeLog
   trunk/src/file-manager/fm-icon-view.c

Modified: trunk/src/file-manager/fm-icon-view.c
==============================================================================
--- trunk/src/file-manager/fm-icon-view.c	(original)
+++ trunk/src/file-manager/fm-icon-view.c	Sun Mar 30 21:38:17 2008
@@ -980,6 +980,10 @@
 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]