calendarui/controller/src/calenviewmanager.cpp
branchRCL_3
changeset 86 ed599363c2d7
parent 74 97232defd20e
--- a/calendarui/controller/src/calenviewmanager.cpp	Wed Sep 15 12:11:35 2010 +0300
+++ b/calendarui/controller/src/calenviewmanager.cpp	Wed Oct 13 14:30:35 2010 +0300
@@ -640,7 +640,7 @@
             RequestActivationL(KUidCalenDayView);
 
 			// dim "today" toolbar item since focus is on today            
-            //iToolbar->Toolbar().SetItemDimmed( ECalenGotoToday, ETrue, ETrue);
+            iToolbar->Toolbar().SetItemDimmed( ECalenGotoToday, ETrue, ETrue);
             }
             break;
 
@@ -1058,7 +1058,6 @@
         case ECalenNotifyEntryDeleted:
         case ECalenNotifyInstanceDeleted:    
 			{
-			iAvoidRepopulation = EFalse;
 			HandleEntryDeleteNotificationL();
 			}
 			break;
@@ -1624,14 +1623,15 @@
     {
     TRACE_ENTRY_POINT;
     
+    if( iController.IsFasterAppFlagEnabled() )
+        {
         //Set the context whenever system time is changed
         TUid newViewUid = iSetting->DefaultView();
         MCalenContext& context = iController.Services().Context();
         TCalTime focusTime = context.DefaultCalTimeForViewsL();
         context.SetFocusDateAndTimeL( focusTime,
                                       TVwsViewId( KUidCalendar, newViewUid ));
-    if( iController.IsFasterAppFlagEnabled() )
-        {
+
         // reset tha flag iAvoidRepopulation to refresh the view whenever
         // system time is changed
         iAvoidRepopulation = EFalse;