--- 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 <aknnavide.h>
#include <podcast.rsg>
#include "SettingsEngine.h"
+#include <akntitle.h>
#include <akncommondialogsdynmem.h>
#include <pathinfo.h>
@@ -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<CAknTitlePane*>
+ ( 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");
}