f-spot r3727 - trunk/src



Author: sdelcroix
Date: Mon Mar  3 09:20:37 2008
New Revision: 3727
URL: http://svn.gnome.org/viewvc/f-spot?rev=3727&view=rev

Log:
disable sharpening in browse mode

Modified:
   trunk/src/MainWindow.cs

Modified: trunk/src/MainWindow.cs
==============================================================================
--- trunk/src/MainWindow.cs	(original)
+++ trunk/src/MainWindow.cs	Mon Mar  3 09:20:37 2008
@@ -2765,6 +2765,7 @@
 			delete_version_menu_item.Sensitive = false;
 			rename_version_menu_item.Sensitive = false;
 
+			sharpen.Sensitive = false;
 		} else {
 			version_menu_item.Sensitive = true;
 			create_version_menu_item.Sensitive = true;
@@ -2780,6 +2781,8 @@
 			versions_submenu = new PhotoVersionMenu (CurrentPhoto);
 			versions_submenu.VersionIdChanged += new PhotoVersionMenu.VersionIdChangedHandler (HandleVersionIdChanged);
 			version_menu_item.Submenu = versions_submenu;
+
+			sharpen.Sensitive = (view_mode == ModeType.IconView ? false : true);
 		}
 
 		set_as_background.Sensitive = single_active;
@@ -2799,7 +2802,6 @@
 		select_none.Sensitive = active_selection;
 		copy_location.Sensitive = active_selection;
 		exif_data.Sensitive = active_selection;
-		sharpen.Sensitive = active_selection;
 		remove_from_catalog.Sensitive = active_selection;
 		
 		clear_rating_filter.Sensitive = (query.RatingRange != null);



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