--- a/wlanutilities/wlansniffer/aiplugin/src/wsfaiplugin.cpp Wed Mar 31 23:17:49 2010 +0300
+++ b/wlanutilities/wlansniffer/aiplugin/src/wsfaiplugin.cpp Wed Apr 14 17:07:39 2010 +0300
@@ -552,6 +552,7 @@
delete iAnimationPeriodic;
iAnimationPeriodic = NULL;
}
+ iPublishNetworkStatusText = ETrue;
iAiModel->InitializeRefreshAnimation();
iAnimationPeriodic = CPeriodic::NewL(
CActive::EPriorityStandard );
@@ -593,6 +594,7 @@
iAnimationPeriodic = NULL;
}
+ iPublishNetworkStatusText = ETrue;
iAiModel->InitializeConnectingAnimation();
iAnimationPeriodic = CPeriodic::NewL(
CActive::EPriorityStandard );
@@ -839,7 +841,7 @@
// ---------------------------------------------------------------------------
//
void CWsfAiPlugin::PublishStatusIconL( CArrayFix<TInt>* aPublishIconArray,
- CEikLabel* /*aText1*/ )
+ CEikLabel* aText1 )
{
LOG_ENTERFN( "CWsfAiPlugin::PublishStatusIconL" );
TBool published( EFalse );
@@ -858,6 +860,17 @@
published = PublishIconL( observer,
EAiWizardContentStatusIcon,
iconId ) || published;
+
+ if ( iPublishNetworkStatusText && aText1 )
+ {
+ iPublishNetworkStatusText = EFalse;
+ HBufC *statusText = aText1->Text()->AllocLC();
+ published = PublishText( observer,
+ EAiWizardContentNetworkStatus,
+ *statusText ) || published;
+ CleanupStack::PopAndDestroy( statusText );
+ }
+
// If we published something then commit,
// otherwise cancel transaction
if ( published )