equal
deleted
inserted
replaced
329 SetCurrentPreset(aPreset); |
329 SetCurrentPreset(aPreset); |
330 |
330 |
331 // Set the active preset in the equalizer item array |
331 // Set the active preset in the equalizer item array |
332 iItemArray->SetCurrentActivePreset(aPreset); |
332 iItemArray->SetCurrentActivePreset(aPreset); |
333 |
333 |
334 // Display Confirmation note |
334 // Display Confirmation note |
335 HBufC* activateNoteText = StringLoader::LoadLC( |
335 // As per 9.2 Spec, No activation note should be shown |
|
336 |
|
337 /*HBufC* activateNoteText = StringLoader::LoadLC( |
336 R_QTN_EQ_NOTE_INFO_PRESET_ACTIVATED, aPreset); |
338 R_QTN_EQ_NOTE_INFO_PRESET_ACTIVATED, aPreset); |
337 CAknConfirmationNote* dialog = new(ELeave)CAknConfirmationNote(); |
339 CAknConfirmationNote* dialog = new(ELeave)CAknConfirmationNote(); |
338 dialog->ExecuteLD(*activateNoteText); |
340 dialog->ExecuteLD(*activateNoteText); |
339 CleanupStack::PopAndDestroy(activateNoteText); |
341 CleanupStack::PopAndDestroy(activateNoteText); */ |
340 |
342 |
341 // Inform the engine |
343 // Inform the engine |
342 if (aPreset.Compare(*iPresetNoneText) == 0) |
344 if (aPreset.Compare(*iPresetNoneText) == 0) |
343 { |
345 { |
344 TRAP(err, iAudEqUtility->DisableEqualizerL()); |
346 TRAP(err, iAudEqUtility->DisableEqualizerL()); |
1090 { |
1092 { |
1091 aMenuPane->SetItemDimmed(EEqualizerCmdEdit, ETrue); |
1093 aMenuPane->SetItemDimmed(EEqualizerCmdEdit, ETrue); |
1092 } |
1094 } |
1093 iContextSensitiveMenu = EFalse; |
1095 iContextSensitiveMenu = EFalse; |
1094 } |
1096 } |
|
1097 aMenuPane->SetItemDimmed(EEqualizerCmdCreateNew, ETrue ); |
|
1098 aMenuPane->SetItemDimmed(EEqualizerCmdEdit, ETrue); |
1095 } |
1099 } |
1096 } |
1100 } |
1097 |
1101 |
1098 // ------------------------------------------------------------------- |
1102 // ------------------------------------------------------------------- |
1099 // CEqualizerPresetsDialog::ProcessCommandL(TInt aCommandId ) |
1103 // CEqualizerPresetsDialog::ProcessCommandL(TInt aCommandId ) |