638 // reactivate the current view |
638 // reactivate the current view |
639 //RequestActivationL(iCurrentViewId.iViewUid); |
639 //RequestActivationL(iCurrentViewId.iViewUid); |
640 RequestActivationL(KUidCalenDayView); |
640 RequestActivationL(KUidCalenDayView); |
641 |
641 |
642 // dim "today" toolbar item since focus is on today |
642 // dim "today" toolbar item since focus is on today |
643 //iToolbar->Toolbar().SetItemDimmed( ECalenGotoToday, ETrue, ETrue); |
643 iToolbar->Toolbar().SetItemDimmed( ECalenGotoToday, ETrue, ETrue); |
644 } |
644 } |
645 break; |
645 break; |
646 |
646 |
647 default: |
647 default: |
648 break; |
648 break; |
1056 } |
1056 } |
1057 break; |
1057 break; |
1058 case ECalenNotifyEntryDeleted: |
1058 case ECalenNotifyEntryDeleted: |
1059 case ECalenNotifyInstanceDeleted: |
1059 case ECalenNotifyInstanceDeleted: |
1060 { |
1060 { |
1061 iAvoidRepopulation = EFalse; |
|
1062 HandleEntryDeleteNotificationL(); |
1061 HandleEntryDeleteNotificationL(); |
1063 } |
1062 } |
1064 break; |
1063 break; |
1065 case ECalenNotifySystemLocaleChanged: |
1064 case ECalenNotifySystemLocaleChanged: |
1066 case ECalenNotifyEntrySaved: |
1065 case ECalenNotifyEntrySaved: |
1622 // ---------------------------------------------------------------------------- |
1621 // ---------------------------------------------------------------------------- |
1623 void CCalenViewManager::HandleSystemTimeChangeNotificationL() |
1622 void CCalenViewManager::HandleSystemTimeChangeNotificationL() |
1624 { |
1623 { |
1625 TRACE_ENTRY_POINT; |
1624 TRACE_ENTRY_POINT; |
1626 |
1625 |
|
1626 if( iController.IsFasterAppFlagEnabled() ) |
|
1627 { |
1627 //Set the context whenever system time is changed |
1628 //Set the context whenever system time is changed |
1628 TUid newViewUid = iSetting->DefaultView(); |
1629 TUid newViewUid = iSetting->DefaultView(); |
1629 MCalenContext& context = iController.Services().Context(); |
1630 MCalenContext& context = iController.Services().Context(); |
1630 TCalTime focusTime = context.DefaultCalTimeForViewsL(); |
1631 TCalTime focusTime = context.DefaultCalTimeForViewsL(); |
1631 context.SetFocusDateAndTimeL( focusTime, |
1632 context.SetFocusDateAndTimeL( focusTime, |
1632 TVwsViewId( KUidCalendar, newViewUid )); |
1633 TVwsViewId( KUidCalendar, newViewUid )); |
1633 if( iController.IsFasterAppFlagEnabled() ) |
1634 |
1634 { |
|
1635 // reset tha flag iAvoidRepopulation to refresh the view whenever |
1635 // reset tha flag iAvoidRepopulation to refresh the view whenever |
1636 // system time is changed |
1636 // system time is changed |
1637 iAvoidRepopulation = EFalse; |
1637 iAvoidRepopulation = EFalse; |
1638 |
1638 |
1639 if(IsNativeView(newViewUid)) |
1639 if(IsNativeView(newViewUid)) |