equal
deleted
inserted
replaced
334 } |
334 } |
335 else if ( aResourceId == R_PSLN_CI_BASIC_MENUPANE ) |
335 else if ( aResourceId == R_PSLN_CI_BASIC_MENUPANE ) |
336 { |
336 { |
337 TInt active = static_cast<CPslnCallImagePluginContainer*> |
337 TInt active = static_cast<CPslnCallImagePluginContainer*> |
338 (iContainer)->CurrentSelectionIndexL(); |
338 (iContainer)->CurrentSelectionIndexL(); |
339 // Set menu item as Apply, if: |
339 // Set menu item is used when inactive item is focused and it |
340 // a) 'None' is selected |
340 // activates the focused item. |
341 // b) highlight is on inactive selection |
341 if ( active != iContainer->iListBox->CurrentItemIndex() ) |
342 if ( active != iContainer->iListBox->CurrentItemIndex() && |
342 { |
343 ( active == EPlsnCallImageNone || |
|
344 active == EPlsnCallImageThemeImage ) ) |
|
345 { |
|
346 aMenuPane->SetItemDimmed( EPslnCmdAppActivate, EFalse ); |
343 aMenuPane->SetItemDimmed( EPslnCmdAppActivate, EFalse ); |
347 aMenuPane->SetItemDimmed( EPslnCmdAppDownload, ETrue ); |
344 aMenuPane->SetItemDimmed( EPslnCmdAppDownload, ETrue ); |
348 } |
345 } |
349 else if ( ( active == iContainer->iListBox->CurrentItemIndex() ) && |
346 else if ( ( active == iContainer->iListBox->CurrentItemIndex() ) && |
350 ( active == EPlsnCallImageNone || |
347 ( active == EPlsnCallImageNone || |