equal
deleted
inserted
replaced
422 } |
422 } |
423 |
423 |
424 iServices.IssueCommandL( aCommand ); |
424 iServices.IssueCommandL( aCommand ); |
425 } |
425 } |
426 break; |
426 break; |
|
427 case ECalenShowCalendars: |
|
428 SaveCurrentItemIndexL(); |
|
429 Container()->MarkAllL( EFalse ); |
|
430 CCalenNativeView::HandleCommandL( aCommand ); |
|
431 break; |
427 default: |
432 default: |
428 SaveCurrentItemIndexL(); |
433 SaveCurrentItemIndexL(); |
429 CCalenNativeView::HandleCommandL( aCommand ); |
434 CCalenNativeView::HandleCommandL( aCommand ); |
430 break; |
435 break; |
431 } |
436 } |
679 } |
684 } |
680 break; |
685 break; |
681 // setup edit/mark menu |
686 // setup edit/mark menu |
682 case R_CALENDAR_DONE_UNDONE: |
687 case R_CALENDAR_DONE_UNDONE: |
683 { |
688 { |
684 if( Container()->MarkedCount() == 1) |
689 if( Container()->MarkedCount() ) |
685 { |
690 { |
686 TBool crossout( EFalse ); |
691 TBool crossout( EFalse ); |
687 crossout = CheckMarkedItemCompletedL(); |
692 crossout = CheckMarkedItemCompletedL(); |
688 |
693 |
689 if( crossout ) |
694 if( crossout ) |
926 RArray<TInt> colIdArray; |
931 RArray<TInt> colIdArray; |
927 CCalenNativeView::GetActiveCollectionidsL( iServices, colIdArray ); |
932 CCalenNativeView::GetActiveCollectionidsL( iServices, colIdArray ); |
928 |
933 |
929 if(colIdArray.Count() > 0) |
934 if(colIdArray.Count() > 0) |
930 { |
935 { |
|
936 colIdArray.Close(); |
931 if( !iServices.InstanceViewL(colIdArray) ) |
937 if( !iServices.InstanceViewL(colIdArray) ) |
932 { |
938 { |
933 TRACE_EXIT_POINT; |
939 TRACE_EXIT_POINT; |
934 return CCalenView::EWaitForInstanceView; |
940 return CCalenView::EWaitForInstanceView; |
935 } |
941 } |
939 return CCalenView::EKeepGoing; |
945 return CCalenView::EKeepGoing; |
940 } |
946 } |
941 } |
947 } |
942 else |
948 else |
943 { |
949 { |
|
950 colIdArray.Close(); |
944 if( !iServices.InstanceViewL() ) |
951 if( !iServices.InstanceViewL() ) |
945 { |
952 { |
946 TRACE_EXIT_POINT; |
953 TRACE_EXIT_POINT; |
947 return CCalenView::EWaitForInstanceView; |
954 return CCalenView::EWaitForInstanceView; |
948 } |
955 } |
950 { |
957 { |
951 TRACE_EXIT_POINT; |
958 TRACE_EXIT_POINT; |
952 return CCalenView::EKeepGoing; |
959 return CCalenView::EKeepGoing; |
953 } |
960 } |
954 } |
961 } |
955 colIdArray.Reset(); |
|
956 } |
962 } |
957 // else fall through... |
963 // else fall through... |
958 case ERequestedInstanceView: |
964 case ERequestedInstanceView: |
959 { |
965 { |
960 MCalenContext& context = iServices.Context(); |
966 MCalenContext& context = iServices.Context(); |