photosgallery/viewframework/commandhandlers/commandhandlerbase/src/glxmedialistcommandhandler.cpp
--- a/photosgallery/viewframework/commandhandlers/commandhandlerbase/src/glxmedialistcommandhandler.cpp Mon Mar 15 12:40:30 2010 +0200
+++ b/photosgallery/viewframework/commandhandlers/commandhandlerbase/src/glxmedialistcommandhandler.cpp Wed Mar 31 21:31:03 2010 +0300
@@ -177,12 +177,6 @@
if ( IsSupported( item.iCommandId ) )
{
TBool isDisabled = IsDisabledL(item.iCommandId, MediaList());
-
- if( !isDisabled &&
- iCurrentViewingState == TCommandInfo::EViewingStateView )
- {
- //isDisabled = sf.IsActivePaletteItemVisible( item.iCommandId );
- }
// Check visibility of the menu item
aMenuPane->SetItemDimmed( item.iCommandId, isDisabled);