calendarui/commonutils/src/CalenStatusPaneUtilsImpl.cpp
branchRCL_3
changeset 86 ed599363c2d7
parent 66 bd7edf625bdd
equal deleted inserted replaced
78:356f28cd5ca0 86:ed599363c2d7
   160      // displaying calendar name and icon in navi pane.
   160      // displaying calendar name and icon in navi pane.
   161      if(iNaviLabel != NULL && iNaviLabel->ControlType() == CAknNavigationDecorator::ENotSpecified)
   161      if(iNaviLabel != NULL && iNaviLabel->ControlType() == CAknNavigationDecorator::ENotSpecified)
   162          {
   162          {
   163          CCoeControl* coeRes = iNaviLabel->DecoratedControl();
   163          CCoeControl* coeRes = iNaviLabel->DecoratedControl();
   164          CCustomNaviControl *actualLabel = static_cast<CCustomNaviControl*>(coeRes);
   164          CCustomNaviControl *actualLabel = static_cast<CCustomNaviControl*>(coeRes);
   165          actualLabel->SetCalendarNameAndColorL(aName, aColor);
   165          actualLabel->SetCalendarNameAndColor(aName, aColor);
   166          actualLabel->DrawDeferred();
   166          actualLabel->DrawDeferred();
   167          iNaviContainer->ReplaceL(*iNaviLabel, *iNaviLabel);
   167          iNaviContainer->ReplaceL(*iNaviLabel, *iNaviLabel);
   168          }
   168          }
   169      else
   169      else
   170          {
   170          {