phonebookui/Phonebook2/CommonUI/src/CPbk2ContactNavigation.cpp
branchRCL_3
changeset 58 d4f567ce2e7c
parent 0 e686773b3f54
child 64 c1e8ba0c2b16
equal deleted inserted replaced
57:2666d9724c76 58:d4f567ce2e7c
   139 
   139 
   140     if ( decorator )
   140     if ( decorator )
   141         {
   141         {
   142         decorator->SetNaviDecoratorObserver
   142         decorator->SetNaviDecoratorObserver
   143             (  const_cast<CPbk2ContactNavigation*>( this ) );
   143             (  const_cast<CPbk2ContactNavigation*>( this ) );
   144         decorator->MakeScrollButtonVisible( ETrue );
   144         CAknNavigationDecorator::TControlType controlType = 
       
   145             decorator->ControlType();
       
   146         // Set ScrollButtonVisible to ETrue except
       
   147         // the controlType is CAknNavigationDecorator::ENaviLabel
       
   148         if( CAknNavigationDecorator::ENaviLabel != controlType )
       
   149             {
       
   150             decorator->MakeScrollButtonVisible( ETrue );
       
   151             }
   145         }
   152         }
   146 
   153 
   147     TInt index = 0;
   154     TInt index = 0;
   148     TInt contactCount = 1;
   155     TInt contactCount = 1;
   149     if ( ScrollView() )
   156     if ( ScrollView() )