photosgallery/viewframework/commandhandlers/commandhandlerbase/src/glxmedialistcommandhandler.cpp
branchRCL_3
changeset 35 420f6808bf21
parent 30 a60acebbbd9d
--- a/photosgallery/viewframework/commandhandlers/commandhandlerbase/src/glxmedialistcommandhandler.cpp	Tue May 25 12:42:31 2010 +0300
+++ b/photosgallery/viewframework/commandhandlers/commandhandlerbase/src/glxmedialistcommandhandler.cpp	Wed Jun 09 09:41:51 2010 +0300
@@ -691,6 +691,11 @@
             return ETrue;
             }        
         }
+		//Hide Slideshow with one or more items marked
+    else if((!mlCount || selectionCount) && (aCommandId == EGlxCmdSlideshow))
+    	{
+		return ETrue;
+    	}
 		//If count is >0 and if its context menu item then enable them
 		//always, Since all the items are static it would not affect
 		//the normal behaviour present earlier.