equal
deleted
inserted
replaced
286 { |
286 { |
287 // Handle MSK command Open |
287 // Handle MSK command Open |
288 case ECalenViewCurrentEntry: |
288 case ECalenViewCurrentEntry: |
289 case EAknSoftkeyOpen: |
289 case EAknSoftkeyOpen: |
290 SaveCurrentItemIndexL(); |
290 SaveCurrentItemIndexL(); |
291 if(!Container()->IsEmptyView()) |
291 |
|
292 if(!Container()->IsEmptyView() && !iEventViewCommandHandled) |
292 { |
293 { |
293 if(!Container()->MarkedCount()) |
294 if(!Container()->MarkedCount()) |
294 { |
295 { |
295 CCalenNativeView::HandleCommandL(ECalenEventView); |
296 CCalenNativeView::HandleCommandL(ECalenEventView); |
|
297 iEventViewCommandHandled = ETrue; |
296 break; |
298 break; |
297 } |
299 } |
298 |
300 |
299 |
301 |
300 else |
302 else |
729 CAknToolbar& toolbar = toolbarImpl->Toolbar(); |
731 CAknToolbar& toolbar = toolbarImpl->Toolbar(); |
730 |
732 |
731 // dim clear and clear all toolbar buttons |
733 // dim clear and clear all toolbar buttons |
732 toolbar.SetItemDimmed(ECalenGotoToday,ETrue,ETrue); |
734 toolbar.SetItemDimmed(ECalenGotoToday,ETrue,ETrue); |
733 } |
735 } |
|
736 iEventViewCommandHandled = EFalse; |
734 |
737 |
735 TRACE_EXIT_POINT; |
738 TRACE_EXIT_POINT; |
736 } |
739 } |
737 |
740 |
738 // ---------------------------------------------------------------------------- |
741 // ---------------------------------------------------------------------------- |