emailuis/emailui/src/FreestyleEmailUiSettingsList.cpp
changeset 1 12c456ceeff2
parent 0 8466d47a6819
child 2 5253a20d2a1e
equal deleted inserted replaced
0:8466d47a6819 1:12c456ceeff2
   556             iSelectedPluginSettings = mailbox->GetSettingsUid();
   556             iSelectedPluginSettings = mailbox->GetSettingsUid();
   557             CleanupStack::PopAndDestroy( mailbox );
   557             CleanupStack::PopAndDestroy( mailbox );
   558             iPIMListActivation = ETrue;
   558             iPIMListActivation = ETrue;
   559             SetSelectedMainListIndex( index );
   559             SetSelectedMainListIndex( index );
   560             CreatePluginPIMListL( iSelectedPluginSettings );
   560             CreatePluginPIMListL( iSelectedPluginSettings );
       
   561             // Update the title pane, needed for touch support
       
   562             HBufC* text = CreateTitlePaneTextLC();
       
   563             iAppUi.SetTitlePaneTextL( *text );
       
   564             CleanupStack::PopAndDestroy( text );
   561             }
   565             }
   562         else // index < 0; this should never happen
   566         else // index < 0; this should never happen
   563             {
   567             {
   564             __ASSERT_DEBUG( EFalse, Panic(EFSEmailUiUnexpectedValue) );
   568             __ASSERT_DEBUG( EFalse, Panic(EFSEmailUiUnexpectedValue) );
   565             }
   569             }
  1290 
  1294 
  1291         for ( TInt i = 0; i < mailBoxes.Count(); ++i )
  1295         for ( TInt i = 0; i < mailBoxes.Count(); ++i )
  1292                 {
  1296                 {
  1293                 // get mailbox name and insert it to listBox
  1297                 // get mailbox name and insert it to listBox
  1294                 CFSMailBox* mailBox = mailBoxes[i];
  1298                 CFSMailBox* mailBox = mailBoxes[i];
  1295                 TDesC& name = mailBox->GetName();
       
  1296                 // Does mailbox have settings plugin
  1299                 // Does mailbox have settings plugin
  1297                 if ( mailBox->GetSettingsUid() != TUid::Null() )
  1300                 if ( mailBox->GetSettingsUid() != TUid::Null() )
  1298                     {
  1301                     {
  1299                     // load settings ECOM plugin
  1302                     // load settings ECOM plugin
  1300                     TUid pluginUid = mailBox->GetSettingsUid();
  1303                     TUid pluginUid = mailBox->GetSettingsUid();