photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerremovefrom.cpp
branchRCL_3
changeset 19 420f6808bf21
parent 15 191387a8b767
--- a/photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerremovefrom.cpp	Tue May 25 12:42:31 2010 +0300
+++ b/photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerremovefrom.cpp	Wed Jun 09 09:41:51 2010 +0300
@@ -78,11 +78,6 @@
 	info.iMinSelectionLength = 1;
 	info.iMaxSelectionLength = KMaxTInt;
 	AddCommandL(info);
-
-	TCommandInfo singleclickinfo(EGlxCmdSingleClickRemoveFrom);
-	singleclickinfo.iMinSelectionLength = 1;
-	singleclickinfo.iMaxSelectionLength = KMaxTInt;
-	AddCommandL(singleclickinfo);
 	}
 
 // ---------------------------------------------------------------------------
@@ -174,18 +169,5 @@
 		
  	}
 
-// ---------------------------------------------------------------------------
-// CGlxCommandHandlerRemoveFrom::DoIsDisabled
-// ---------------------------------------------------------------------------
-//
-TBool CGlxCommandHandlerRemoveFrom::DoIsDisabled(TInt aCommandId, 
-                                                 MGlxMediaList& aList) const
-    {
-    if (aCommandId == EGlxCmdSingleClickRemoveFrom && 
-                                  aList.SelectionCount()== 0)
-        {
-        return ETrue;
-        }
-    
-    return EFalse;
-    }
+
+// End of File