equal
deleted
inserted
replaced
727 { |
727 { |
728 TRACE_ENTRY_POINT; |
728 TRACE_ENTRY_POINT; |
729 |
729 |
730 RedrawStatusPaneL(); // Set a text to title pane. |
730 RedrawStatusPaneL(); // Set a text to title pane. |
731 |
731 |
732 MCalenToolbar* toolbarImpl = iServices.ToolbarOrNull(); |
732 /*MCalenToolbar* toolbarImpl = iServices.ToolbarOrNull(); |
733 if(toolbarImpl) |
733 if(toolbarImpl) |
734 { |
734 { |
735 CAknToolbar& toolbar = toolbarImpl->Toolbar(); |
735 CAknToolbar& toolbar = toolbarImpl->Toolbar(); |
736 |
736 |
737 // dim clear and clear all toolbar buttons |
737 // dim clear and clear all toolbar buttons |
738 toolbar.SetItemDimmed(ECalenGotoToday,ETrue,ETrue); |
738 toolbar.SetItemDimmed(ECalenGotoToday,ETrue,ETrue); |
739 } |
739 }*/ |
740 iEventViewCommandHandled = EFalse; |
740 iEventViewCommandHandled = EFalse; |
741 |
741 |
742 TRACE_EXIT_POINT; |
742 TRACE_EXIT_POINT; |
743 } |
743 } |
744 |
744 |
749 // |
749 // |
750 void CCalenTodoView::DoDeactivateImpl() |
750 void CCalenTodoView::DoDeactivateImpl() |
751 { |
751 { |
752 TRACE_ENTRY_POINT; |
752 TRACE_ENTRY_POINT; |
753 |
753 |
754 MCalenToolbar* toolbarImpl = iServices.ToolbarOrNull(); |
754 /*MCalenToolbar* toolbarImpl = iServices.ToolbarOrNull(); |
755 if(toolbarImpl) |
755 if(toolbarImpl) |
756 { |
756 { |
757 CAknToolbar& toolbar = toolbarImpl->Toolbar(); |
757 CAknToolbar& toolbar = toolbarImpl->Toolbar(); |
758 |
758 |
759 if(&toolbar) |
759 if(&toolbar) |
760 { |
760 { |
761 // dim clear and clear all toolbar buttons |
761 // dim clear and clear all toolbar buttons |
762 toolbar.SetItemDimmed(ECalenGotoToday,EFalse,ETrue); |
762 toolbar.SetItemDimmed(ECalenGotoToday,EFalse,ETrue); |
763 } |
763 } |
764 } |
764 }*/ |
765 |
765 |
766 // Remove all markings when the view is deactivated. |
766 // Remove all markings when the view is deactivated. |
767 static_cast< CCalenTodoContainer* > ( iContainer )->MarkAllL( |
767 static_cast< CCalenTodoContainer* > ( iContainer )->MarkAllL( |
768 EFalse ); |
768 EFalse ); |
769 |
769 |