equal
deleted
inserted
replaced
390 |
390 |
391 // Create listbox model |
391 // Create listbox model |
392 CModel* listBoxModel = new(ELeave) CModel( aAddItems, *iconArray ); |
392 CModel* listBoxModel = new(ELeave) CModel( aAddItems, *iconArray ); |
393 iListBox->Model()->SetItemTextArray(listBoxModel); |
393 iListBox->Model()->SetItemTextArray(listBoxModel); |
394 iListBox->Model()->SetOwnershipType(ELbmOwnsItemArray); |
394 iListBox->Model()->SetOwnershipType(ELbmOwnsItemArray); |
|
395 |
|
396 CEikStatusPane* statusPane = iAvkonAppUi->StatusPane(); |
|
397 if (statusPane) |
|
398 { |
|
399 TInt currentStatusPaneResId = statusPane->CurrentLayoutResId(); |
|
400 // Make the statusPane update when it was already set to EMPTY status, |
|
401 // in other case it'll update itself automaticlly |
|
402 if( currentStatusPaneResId == R_AVKON_STATUS_PANE_LAYOUT_EMPTY ) |
|
403 { |
|
404 statusPane->SwitchLayoutL( R_AVKON_STATUS_PANE_LAYOUT_USUAL ); |
|
405 } |
|
406 } |
395 } |
407 } |
396 |
408 |
397 // -------------------------------------------------------------------------- |
409 // -------------------------------------------------------------------------- |
398 // CPbk2AddItemToContactDlg::ExecutePopupL |
410 // CPbk2AddItemToContactDlg::ExecutePopupL |
399 // -------------------------------------------------------------------------- |
411 // -------------------------------------------------------------------------- |