phonebookui/Phonebook2/remotecontactlookup/engine/src/cpbkxrclresultinfodlg.cpp
branchRCL_3
changeset 9 0d28c1c5b6dd
parent 8 5586b4d2ec3e
child 11 2828b4d142c0
equal deleted inserted replaced
8:5586b4d2ec3e 9:0d28c1c5b6dd
   592     
   592     
   593     SetTitlePaneTextL();
   593     SetTitlePaneTextL();
   594     
   594     
   595     //Set NullString to the the NaviPane Decorator
   595     //Set NullString to the the NaviPane Decorator
   596     //The simplest way of doin things. 
   596     //The simplest way of doin things. 
   597     iNaviPane = reinterpret_cast<CAknNavigationControlContainer*>(
   597     //Add the navigation decorators only if the usual statuspane layout is used
       
   598     if ( statusPane->CurrentLayoutResId() == R_AVKON_STATUS_PANE_LAYOUT_USUAL_EXT )
       
   599         {
       
   600         iNaviPane = reinterpret_cast<CAknNavigationControlContainer*>(
   598             statusPane->ControlL( TUid::Uid( EEikStatusPaneUidNavi ) ) );
   601             statusPane->ControlL( TUid::Uid( EEikStatusPaneUidNavi ) ) );
   599     
   602     
   600     iNaviDecorator = iNaviPane->CreateNavigationLabelL( KNullDesC );
   603         iNaviDecorator = iNaviPane->CreateNavigationLabelL( KNullDesC );
   601     
   604     
   602     iNaviPane->PushL( *iNaviDecorator );          
   605         iNaviPane->PushL( *iNaviDecorator );  
       
   606         }
   603     }
   607     }
   604 
   608 
   605 // ---------------------------------------------------------------------------
   609 // ---------------------------------------------------------------------------
   606 // CPbkxRclResultInfoDlg::ResetStatusPane
   610 // CPbkxRclResultInfoDlg::ResetStatusPane
   607 // ---------------------------------------------------------------------------
   611 // ---------------------------------------------------------------------------