equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
347 TInt aResourceId, |
347 TInt aResourceId, |
348 CEikMenuPane* aMenuPane) |
348 CEikMenuPane* aMenuPane) |
349 { |
349 { |
350 if( R_SECMODUI_VIEW_ACCESS_MENU == aResourceId ) |
350 if( R_SECMODUI_VIEW_ACCESS_MENU == aResourceId ) |
351 { |
351 { |
352 if( !FeatureManager::FeatureSupported( KFeatureIdHelp ) ) |
352 if( aResourceId == !FeatureManager::FeatureSupported( KFeatureIdHelp ) ) |
353 { |
353 { |
354 aMenuPane->DeleteMenuItem( EAknCmdHelp ); |
354 aMenuPane->DeleteMenuItem( EAknCmdHelp ); //remove help |
355 } |
355 } |
356 |
356 |
357 TInt currentItem = iContainer->ListBox().CurrentItemIndex(); |
357 TInt currentItem = iContainer->ListBox().CurrentItemIndex(); |
358 if( currentItem == EIndexCodeLabel ) |
358 if( currentItem == EIndexCodeLabel ) |
359 { |
359 { |