javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtcommandarranger.cpp
branchRCL_3
changeset 77 7cee158cb8cd
parent 66 2455ef1f5bbc
child 83 26b2b12093af
equal deleted inserted replaced
71:d5e927d5853b 77:7cee158cb8cd
   443                 KPositionsInCBAForSoftkeys[cbaIndex],
   443                 KPositionsInCBAForSoftkeys[cbaIndex],
   444                 commandId,
   444                 commandId,
   445                 iCbaCommands[cbaIndex]->Text());
   445                 iCbaCommands[cbaIndex]->Text());
   446 
   446 
   447             // Dimming
   447             // Dimming
   448             if (!iCbaCommands[cbaIndex]->IsEnabled())
   448             iCba.DimCommand(commandId, !iCbaCommands[cbaIndex]->IsEnabled());
   449             {
       
   450                 iCba.DimCommand(commandId, ETrue);
       
   451             }
       
   452 
   449 
   453             // Set default command
   450             // Set default command
   454             if (iCbaCommands[cbaIndex] == iDefaultCommand)
   451             if (iCbaCommands[cbaIndex] == iDefaultCommand)
   455             {
   452             {
   456                 iCba.SetDefaultCommand(commandId);
   453                 iCba.SetDefaultCommand(commandId);