sipplugins/sippsipsettingsui/src/sipsettingsplugin.cpp
branchRCL_3
changeset 4 dd3853b8dc3f
parent 0 307788aac0a8
child 14 532ef74cdfa0
--- a/sipplugins/sippsipsettingsui/src/sipsettingsplugin.cpp	Tue Feb 02 01:03:15 2010 +0200
+++ b/sipplugins/sippsipsettingsui/src/sipsettingsplugin.cpp	Fri Feb 19 23:10:33 2010 +0200
@@ -79,7 +79,7 @@
     iResourceLoader.Close();
     
     delete iModel;
-       delete iHandler;
+    delete iHandler;
     }
 
 // -----------------------------------------------------------------------------
@@ -481,21 +481,11 @@
     {
     __GSLOGSTRING("CSIPSettingsPlugin::HandleListBoxEventL " )
     __GSLOGSTRING1("CSIPSettingsPlugin::HandleListBoxEventL aEventType: %d", aEventType)
-     
-    if( EEventPenDownOnItem == aEventType )
-        {
-        iContainer->LongTapDetector()->PointerEventL( iContainer->PointerEvent() );
-        return;
-        }
     if( EEventItemSingleClicked == aEventType ||
     		  EEventEnterKeyPressed == aEventType )
 	    {
-    	if ( !iContainer->LongPressStatus() )
-    	    {
     	    EditProfileL();
-    	    }
 	    }
-	    iContainer ->SetLongPress( EFalse );
     }
 
 // -----------------------------------------------------------------------------
@@ -718,18 +708,11 @@
     {    
     __GSLOGSTRING("CSIPSettingsPlugin::DynInitMenuPaneL" )
     // Delete Help item if feature is not supported
-    if( aResourceId == R_GS_SIP_PROFILE_LIST_VIEW_MENU ) 
+    if( aResourceId == R_GS_SIP_PROFILE_LIST_VIEW_MENU && 
+		!FeatureManager::FeatureSupported( KFeatureIdHelp ) ) 
         {
-        if ( iContainer->IfPointerEvent() )
-            {
-            aMenuPane->SetItemDimmed( EGSCmdAppEdit, ETrue );
-            aMenuPane->SetItemDimmed( EGSCmdAppDelete, ETrue );
-            aMenuPane->SetItemDimmed( EGSCmdAppDefault, ETrue );
-            }
-        if( !FeatureManager::FeatureSupported( KFeatureIdHelp ) )
-            {
+
             aMenuPane->DeleteMenuItem( EAknCmdHelp );
-            }
         }    
         
     if ( aResourceId == R_GS_SIP_PROFILE_LIST_VIEW_MENU &&