browserui/browser/SettingsSrc/SettingsContainer.cpp
branchRCL_3
changeset 45 5a044f6358c2
parent 35 5c11946e75b3
equal deleted inserted replaced
43:b149f0820e5a 45:5a044f6358c2
  1248                             R_WMLBROWSER_SETTINGS_AUTOUPDATING_AP );
  1248                             R_WMLBROWSER_SETTINGS_AUTOUPDATING_AP );
  1249     aItemText.Append( *defaultAp );
  1249     aItemText.Append( *defaultAp );
  1250     CleanupStack::PopAndDestroy(); // defaultAp
  1250     CleanupStack::PopAndDestroy(); // defaultAp
  1251     aItemText.Append( KWmlSettingsListBoxItemPostfix );
  1251     aItemText.Append( KWmlSettingsListBoxItemPostfix );
  1252     
  1252     
  1253     if ( id == -1 )
  1253     if ( id == KWmlNoDefaultAccessPoint )
  1254         {
  1254         {
  1255         // If user hasn't selected an AP, show a blank list entry. Once user
  1255         // If user hasn't selected an AP, show a blank list entry. Once user
  1256         // selects an AP, it will be displayed.  Note: The browser's default AP
  1256         // selects an AP, it will be displayed.  Note: The browser's default AP
  1257         // is used, until user makes a different AP selection.
  1257         // is used, until user makes a different AP selection.
  1258         aItemText.Append( KNullDesC );
  1258         aItemText.Append( KNullDesC );
  3360 // CSettingsContainer::HandleListBoxEventL
  3360 // CSettingsContainer::HandleListBoxEventL
  3361 // -----------------------------------------------------------------------------
  3361 // -----------------------------------------------------------------------------
  3362 //
  3362 //
  3363 void CSettingsContainer::HandleListBoxEventL(CEikListBox* aListBox,TListBoxEvent aEventType)
  3363 void CSettingsContainer::HandleListBoxEventL(CEikListBox* aListBox,TListBoxEvent aEventType)
  3364     {
  3364     {
  3365     TKeyResponse ret = EKeyWasNotConsumed;
       
  3366     if (iPenEnabled)
  3365     if (iPenEnabled)
  3367         {
  3366         {
  3368         if (iSettingListBox && aListBox == iSettingListBox)
  3367         if (iSettingListBox && aListBox == iSettingListBox)
  3369             {
  3368             {
  3370             switch (aEventType)
  3369             switch (aEventType)
  3444                         case EWmlSettingsShortCutKeyStarCmd:
  3443                         case EWmlSettingsShortCutKeyStarCmd:
  3445                         case EWmlSettingsShortCutKeyHashCmd:
  3444                         case EWmlSettingsShortCutKeyHashCmd:
  3446                         case EWmlSettingsSearchProvider:
  3445                         case EWmlSettingsSearchProvider:
  3447                         {
  3446                         {
  3448                             ChangeItemL( ETrue );
  3447                             ChangeItemL( ETrue );
  3449                             ret = EKeyWasConsumed;
       
  3450                             break;
  3448                             break;
  3451                         }
  3449                         }
  3452                         default:
  3450                         default:
  3453                             break;
  3451                             break;
  3454                         }	
  3452                         }