[PATCH] Hide clean up by name



"Cleanup by Name" is also in the context menu when you right click on a spatial window or the file browser. It is then always disabled. To reduce clutter, this little patch just hides it.

Jaap



Index: fm-icon-view.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/file-manager/fm-icon-view.c,v
retrieving revision 1.297
diff -u -r1.297 fm-icon-view.c
--- fm-icon-view.c	8 Jun 2004 17:35:11 -0000	1.297
+++ fm-icon-view.c	29 Aug 2004 16:04:44 -0000
@@ -654,8 +654,8 @@
 	}
 
 	/* Clean Up is only relevant for manual layout */
-	nautilus_bonobo_set_sensitive
-		(view->details->ui, COMMAND_CLEAN_UP, !is_auto_layout);	
+	nautilus_bonobo_set_hidden
+		(view->details->ui, COMMAND_CLEAN_UP, is_auto_layout);	
 
 
 	nautilus_bonobo_set_hidden (view->details->ui,


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