phonebookui/Phonebook2/ccapplication/ccacommlauncherplugin/src/ccappcommlaunchermenuhandler.cpp
branchRCL_3
changeset 3 04ab22b956c2
parent 0 e686773b3f54
child 23 5586b4d2ec3e
equal deleted inserted replaced
0:e686773b3f54 3:04ab22b956c2
   277 void CCCAppCommLauncherMenuHandler::DynInitSelectOtherMenuItemL(
   277 void CCCAppCommLauncherMenuHandler::DynInitSelectOtherMenuItemL(
   278     CEikMenuPane* aMenuPane )
   278     CEikMenuPane* aMenuPane )
   279     {
   279     {
   280     CCA_DP(KCommLauncherLogFile, CCA_L("->CCCAppCommLauncherMenuHandler::DynInitSelectOtherMenuItemL()"));
   280     CCA_DP(KCommLauncherLogFile, CCA_L("->CCCAppCommLauncherMenuHandler::DynInitSelectOtherMenuItemL()"));
   281 
   281 
   282     if ( iPlugin.Container().CommMethodsAvailable())
   282     if ( iPlugin.Container().CommMethodsAvailable() && 
       
   283     		iPlugin.Container().IsListBoxHighlightEnabled())
   283         {// comm methods available, continue..
   284         {// comm methods available, continue..
   284         VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector contactAction =
   285         VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector contactAction =
   285             iPlugin.Container().SelectedCommunicationMethod();
   286             iPlugin.Container().SelectedCommunicationMethod();
   286         CCCAppCommLauncherContactHandler& contactHandler = iPlugin.ContactHandler();//not owned
   287         CCCAppCommLauncherContactHandler& contactHandler = iPlugin.ContactHandler();//not owned
   287 
   288 
   305                 aMenuPane->DeleteMenuItem( ECCAppCommLauncherSelectOtherAddrCmd );
   306                 aMenuPane->DeleteMenuItem( ECCAppCommLauncherSelectOtherAddrCmd );
   306                 }
   307                 }
   307             }
   308             }
   308         }
   309         }
   309     else
   310     else
   310         {// no comm methods available, don't show anything
   311         {// no comm methods available or Listbox highlight is disabled, don't show anything
   311         aMenuPane->DeleteMenuItem( ECCAppCommLauncherSelectOtherNmbCmd );
   312         aMenuPane->DeleteMenuItem( ECCAppCommLauncherSelectOtherNmbCmd );
   312         aMenuPane->DeleteMenuItem( ECCAppCommLauncherSelectOtherAddrCmd );
   313         aMenuPane->DeleteMenuItem( ECCAppCommLauncherSelectOtherAddrCmd );
   313         }
   314         }
   314 
   315 
   315     CCA_DP(KCommLauncherLogFile, CCA_L("<-CCCAppCommLauncherMenuHandler::DynInitSelectOtherMenuItemL()"));
   316     CCA_DP(KCommLauncherLogFile, CCA_L("<-CCCAppCommLauncherMenuHandler::DynInitSelectOtherMenuItemL()"));