photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandlerback.cpp
branchRCL_3
changeset 18 bcb43dc84c44
parent 14 ce1c7ad1f18b
child 25 191387a8b767
equal deleted inserted replaced
14:ce1c7ad1f18b 18:bcb43dc84c44
   149 
   149 
   150 	GLX_LOG_INFO1( "CGlxCommandHandlerBack::ExecuteL::Command Id (%d)",
   150 	GLX_LOG_INFO1( "CGlxCommandHandlerBack::ExecuteL::Command Id (%d)",
   151 	    aCommandId );
   151 	    aCommandId );
   152 	if(EAknSoftkeyClose == aCommandId)
   152 	if(EAknSoftkeyClose == aCommandId)
   153 		{
   153 		{
   154         GLX_LOG_INFO("CGlxCommandHandlerBack::ExecuteL::goto \
   154         GLX_LOG_INFO("CGlxCommandHandlerBack::ExecuteL::go to \
   155 	                    root in UI hierarchy");
   155 	                    root in UI hierarchy");
   156         iNavigationalState->NavigateToParentL();
   156         CMPXCollectionPath* newState = CMPXCollectionPath::NewL();
       
   157         CleanupStack::PushL( newState );
       
   158         iNavigationalState->NavigateToL( *newState );
       
   159         CleanupStack::PopAndDestroy( newState );
   157 		consume = ETrue;
   160 		consume = ETrue;
   158 		}   
   161 		}   
   159 	else if ( aCommandId == EAknSoftkeyBack )
   162 	else if ( aCommandId == EAknSoftkeyBack )
   160     	{
   163     	{
   161     	switch( iCurrentCommandId )
   164     	switch( iCurrentCommandId )