pkiutilities/SecModUI/src/SecModUIViewSignature.cpp
branchRCL_3
changeset 5 3b17fc5c9564
parent 0 164170e6151a
child 49 09b1ac925e3f
equal deleted inserted replaced
1:d5423fbb4f29 5:3b17fc5c9564
     1 /*
     1 /*
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2005-2010 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".
   170     TInt currentItem = iContainer->ListBox().CurrentItemIndex();
   170     TInt currentItem = iContainer->ListBox().CurrentItemIndex();
   171     switch(aResourceId)
   171     switch(aResourceId)
   172         {
   172         {
   173         case R_SECMODUI_VIEW_SIGNATURE_MENU:
   173         case R_SECMODUI_VIEW_SIGNATURE_MENU:
   174             {
   174             {
   175             if( aResourceId == !FeatureManager::FeatureSupported( KFeatureIdHelp ) )
   175             if( !FeatureManager::FeatureSupported( KFeatureIdHelp ) )
   176                 {
   176                 {
   177                 aMenuPane->DeleteMenuItem( EAknCmdHelp ); //remove help
   177                 aMenuPane->DeleteMenuItem( EAknCmdHelp );
   178                 } 
   178                 } 
   179             // The security module list is empty.  
   179             // The security module list is empty.  
   180             // All except Exit and Help is dimmed.
   180             // All except Exit and Help is dimmed.
   181             if (!iModel.PinNrChangeable(currentItem))
   181             if (!iModel.PinNrChangeable(currentItem))
   182                 {
   182                 {