emailuis/emailui/src/FreestyleEmailUiSearchListVisualiser.cpp
branchRCL_3
changeset 34 cd2816114bd1
parent 33 da5135c61bad
child 26 67369d1b217f
equal deleted inserted replaced
33:da5135c61bad 34:cd2816114bd1
   393 	viewData.Copy( aCustomMessage );
   393 	viewData.Copy( aCustomMessage );
   394 	subView = viewData();
   394 	subView = viewData();
   395 
   395 
   396 	// Update settings and set list mode according to settings
   396 	// Update settings and set list mode according to settings
   397 	UpdateMailListSettingsL();
   397 	UpdateMailListSettingsL();
   398 
   398 	
   399 	if ( iMailBox )
   399 	if ( iMailBox )
   400 		{
   400 		{
   401 		delete iMailBox;
   401 		delete iMailBox;
   402 		iMailBox = NULL;
   402 		iMailBox = NULL;
   403 		}
   403 		}
   436 		else if ( iModel && iModel->Count() )
   436 		else if ( iModel && iModel->Count() )
   437 			{
   437 			{
   438 			// Need to make sure that return to this view works even if following function leaves.
   438 			// Need to make sure that return to this view works even if following function leaves.
   439 			TRAP_IGNORE( CheckAndUpdateFocusedMessageL() );
   439 			TRAP_IGNORE( CheckAndUpdateFocusedMessageL() );
   440 			}
   440 			}
       
   441 		
       
   442 	    // Set mailbox name to status pane
       
   443 		iAppUi.SetActiveMailboxNameToStatusPaneL();	
   441 		}
   444 		}
   442     CAknEnv::Static()->GetCurrentGlobalUiZoom( iCurrentZoomLevel );
   445     CAknEnv::Static()->GetCurrentGlobalUiZoom( iCurrentZoomLevel );
   443 	// Set msk always empty when view is activated.
   446 	// Set msk always empty when view is activated.
   444 	SetMskL();
   447 	SetMskL();
   445 	// <cmail>
   448 	// <cmail>