diff -r 9441fb8fd60d -r 4b75876aa85a application/src/PodcastSettingsView.cpp --- a/application/src/PodcastSettingsView.cpp Sat Nov 13 11:50:23 2010 +0000 +++ b/application/src/PodcastSettingsView.cpp Sun Nov 14 13:05:37 2010 +0000 @@ -24,6 +24,7 @@ #include #include #include "SettingsEngine.h" +#include #include #include @@ -487,10 +488,13 @@ DP("Creating navipane"); iNaviPane =( CAknNavigationControlContainer * ) StatusPane()->ControlL( TUid::Uid( EEikStatusPaneUidNavi ) ); - HBufC *titleBuffer = iEikonEnv->AllocReadResourceL(R_SETTINGS_TITLE); - iNaviDecorator = iNaviPane->CreateNavigationLabelL(*titleBuffer); - delete titleBuffer; - + CAknTitlePane* titlePane = static_cast + ( StatusPane()->ControlL( TUid::Uid( EEikStatusPaneUidTitle ) ) ); + + HBufC *titleBuffer = iEikonEnv->AllocReadResourceLC(R_SETTINGS_TITLE); + titlePane->SetTextL(*titleBuffer); + CleanupStack::PopAndDestroy(titleBuffer); + DP("Updating listbox"); AppUi()->AddToStackL(*this, iListbox); iListbox->UpdateSettingVisibility(); @@ -503,6 +507,7 @@ iNaviPane->PushL(*iNaviDecorator); } + ((CPodcastAppUi*)AppUi())->SetTabsDimmed(ETrue); DP("CPodcastSettingsView::DoActivateL END"); } @@ -522,6 +527,8 @@ delete iNaviDecorator; iNaviDecorator = NULL; } + + ((CPodcastAppUi*)AppUi())->SetTabsDimmed(EFalse); DP("CPodcastSettingsView::DoDeactivate END"); }