diff -r 0b38fc5b94c6 -r 2c54b51f39c4 calendarui/views/src/calennativeview.cpp --- a/calendarui/views/src/calennativeview.cpp Mon Jul 12 02:32:28 2010 +0530 +++ b/calendarui/views/src/calennativeview.cpp Mon Jul 26 13:54:38 2010 +0530 @@ -50,7 +50,8 @@ Default constructor. */ CalenNativeView::CalenNativeView(MCalenServices &services) : - mServices(services), mIsCapturedScreenShotValid(false) + mServices(services), mIsCapturedScreenShotValid(false), + mEntriesInDataBase(false) { OstTraceFunctionEntry0( CALENNATIVEVIEW_CALENNATIVEVIEW_ENTRY ); @@ -114,6 +115,7 @@ OstTraceFunctionEntry0( CALENNATIVEVIEW_DELETEALLENTRIES_ENTRY ); mServices.IssueCommandL(ECalenDeleteAllEntries); + mEntriesInDataBase = false; OstTraceFunctionExit0( CALENNATIVEVIEW_DELETEALLENTRIES_EXIT ); } @@ -224,7 +226,11 @@ case ECalenNotifySystemLocaleChanged: { onLocaleChanged(EChangesLocale); } - break; + break; + case ECalenNotifySystemTimeChanged: { + onLocaleChanged(EChangesSystemTime); + } + break; case ECalenNotifyContextChanged: { onContextChanged(); }