phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/src/ccappcommlaunchermenuhandler.cpp
branchRCL_3
changeset 3 04ab22b956c2
parent 0 e686773b3f54
child 23 5586b4d2ec3e
--- a/phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/src/ccappcommlaunchermenuhandler.cpp	Tue Feb 02 10:12:17 2010 +0200
+++ b/phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/src/ccappcommlaunchermenuhandler.cpp	Fri Feb 19 22:40:27 2010 +0200
@@ -279,7 +279,8 @@
     {
     CCA_DP(KCommLauncherLogFile, CCA_L("->CCCAppCommLauncherMenuHandler::DynInitSelectOtherMenuItemL()"));
 
-    if ( iPlugin.Container().CommMethodsAvailable())
+    if ( iPlugin.Container().CommMethodsAvailable() && 
+    		iPlugin.Container().IsListBoxHighlightEnabled())
         {// comm methods available, continue..
         VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector contactAction =
             iPlugin.Container().SelectedCommunicationMethod();
@@ -307,7 +308,7 @@
             }
         }
     else
-        {// no comm methods available, don't show anything
+        {// no comm methods available or Listbox highlight is disabled, don't show anything
         aMenuPane->DeleteMenuItem( ECCAppCommLauncherSelectOtherNmbCmd );
         aMenuPane->DeleteMenuItem( ECCAppCommLauncherSelectOtherAddrCmd );
         }