equal
deleted
inserted
replaced
150 CleanupStack::Pop(); |
150 CleanupStack::Pop(); |
151 |
151 |
152 iListBox->Model()->SetOwnershipType(ELbmDoesNotOwnItemArray); |
152 iListBox->Model()->SetOwnershipType(ELbmDoesNotOwnItemArray); |
153 iListBox->View()->SetListEmptyTextL( KNullDesC ); |
153 iListBox->View()->SetListEmptyTextL( KNullDesC ); |
154 iFirstTap = EFalse; |
154 iFirstTap = EFalse; |
155 |
|
156 //Set toolbar visibility to false, bcoz this view is not using the ToolBar |
|
157 MCalenToolbar* toolbar = iServices.ToolbarOrNull(); |
|
158 if(toolbar) |
|
159 { |
|
160 toolbar->SetToolbarVisibilityL(EFalse); |
|
161 } |
|
162 |
155 |
163 TRACE_EXIT_POINT; |
156 TRACE_EXIT_POINT; |
164 } |
157 } |
165 |
158 |
166 // ---------------------------------------------------------------------------- |
159 // ---------------------------------------------------------------------------- |
406 |
399 |
407 CCalenContainer::HandleResourceChange( aType ); |
400 CCalenContainer::HandleResourceChange( aType ); |
408 |
401 |
409 if ( aType == KAknsMessageSkinChange || aType == KEikDynamicLayoutVariantSwitch ) |
402 if ( aType == KAknsMessageSkinChange || aType == KEikDynamicLayoutVariantSwitch ) |
410 { |
403 { |
411 SizeChanged(); |
404 // SizeChanged(); |
412 /*TRect main_pane; |
405 TRect main_pane; |
413 AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EMainPane, main_pane ); |
406 AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EMainPane, main_pane ); |
414 SetRect( main_pane ); |
407 SetRect( main_pane ); |
415 if(iListBox) |
408 if(iListBox) |
416 { |
409 { |
417 TRect mainPane; |
410 TRect mainPane; |
418 AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EMainPane, mainPane ); |
411 AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EMainPane, mainPane ); |
419 TRect bgContextRect( TPoint(0, 0), mainPane.Size() ); |
412 TRect bgContextRect( TPoint(0, 0), mainPane.Size() ); |
420 iListBox->SetRect( bgContextRect ); |
413 iListBox->SetRect( bgContextRect ); |
421 }*/ |
414 } |
422 |
415 |
423 // refresh |
416 // refresh |
424 TRAPD(error,iView->BeginRepopulationL()); |
417 TRAPD(error,iView->BeginRepopulationL()); |
425 if(error!=KErrNone) |
418 if(error!=KErrNone) |
426 { |
419 { |