calendarui/controller/src/calensettingsstate.cpp
changeset 45 b6db4fd4947b
parent 18 c198609911f9
child 51 0b38fc5b94c6
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
   101             ActivateCurrentStateL(aStateMachine);
   101             ActivateCurrentStateL(aStateMachine);
   102             cmdUsed = ETrue;
   102             cmdUsed = ETrue;
   103             }
   103             }
   104             break;
   104             break;
   105         case ECalenMonthView:
   105         case ECalenMonthView:
       
   106         case ECalenAgendaView:
   106         case ECalenDayView:
   107         case ECalenDayView:
   107         case ECalenLandscapeDayView:
       
   108         case ECalenStartActiveStep:
   108         case ECalenStartActiveStep:
   109             {
   109             {
   110             // set previous state to idle
   110             // set previous state to idle
   111             CCalenStateMachine::TCalenStateIndex cachedState = CCalenStateMachine::ECalenIdleState;
   111             CCalenStateMachine::TCalenStateIndex cachedState = CCalenStateMachine::ECalenIdleState;
   112             SetCurrentState( aStateMachine, CCalenStateMachine::ECalenPopulationState );
   112             SetCurrentState( aStateMachine, CCalenStateMachine::ECalenPopulationState );
   149             SetCurrentState( aStateMachine, iPreviousState );
   149             SetCurrentState( aStateMachine, iPreviousState );
   150             iOutstandingNotifications.InsertL(aNotification);
   150             iOutstandingNotifications.InsertL(aNotification);
   151             ActivateCurrentStateL(aStateMachine);
   151             ActivateCurrentStateL(aStateMachine);
   152             }
   152             }
   153             break;
   153             break;
       
   154         case ECalenNotifySystemLocaleChanged:
       
   155             {
       
   156             CCalenState::HandleNotificationL( aNotification, aStateMachine );
       
   157             }
       
   158             break;
   154         default:
   159         default:
   155             // default is defer all other notifications when we are in setting state
   160             // default is defer all other notifications when we are in setting state
   156             iOutstandingNotifications.InsertL(aNotification);
   161             iOutstandingNotifications.InsertL(aNotification);
   157             break;
   162             break;
   158         }
   163         }