photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerback.cpp
branchRCL_3
changeset 12 ce1c7ad1f18b
parent 11 71da52165949
child 13 bcb43dc84c44
--- a/photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerback.cpp	Fri Mar 12 15:42:44 2010 +0200
+++ b/photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerback.cpp	Mon Mar 15 12:40:30 2010 +0200
@@ -149,8 +149,14 @@
 
 	GLX_LOG_INFO1( "CGlxCommandHandlerBack::ExecuteL::Command Id (%d)",
 	    aCommandId );
-	    
-	if ( aCommandId == EAknSoftkeyBack )
+	if(EAknSoftkeyClose == aCommandId)
+		{
+        GLX_LOG_INFO("CGlxCommandHandlerBack::ExecuteL::goto \
+	                    root in UI hierarchy");
+        iNavigationalState->NavigateToParentL();
+		consume = ETrue;
+		}   
+	else if ( aCommandId == EAknSoftkeyBack )
     	{
     	switch( iCurrentCommandId )
     		{