phonebookui/Phonebook2/CommonUI/src/CPbk2ContactNavigation.cpp
branchRCL_3
changeset 85 38bb213f60ba
parent 63 f4a778e096c2
equal deleted inserted replaced
74:6b5524b4f673 85:38bb213f60ba
   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         CAknNavigationDecorator::TControlType controlType = 
   144         decorator->MakeScrollButtonVisible( ETrue );
   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             }
       
   152         }
   145         }
   153 
   146 
   154     TInt index = 0;
   147     TInt index = 0;
   155     TInt contactCount = 1;
   148     TInt contactCount = 1;
   156     if ( ScrollView() )
   149     if ( ScrollView() )