diff -r 1b207dd38b72 -r ace62b58f4b2 idlefw/plugins/wrtdataplugin/src/wrtdata.cpp --- a/idlefw/plugins/wrtdataplugin/src/wrtdata.cpp Tue May 25 13:01:39 2010 +0300 +++ b/idlefw/plugins/wrtdataplugin/src/wrtdata.cpp Wed Jun 09 10:01:25 2010 +0300 @@ -130,29 +130,32 @@ // void CWrtData::UpdatePublisherStatusL() { - // Resent the plugin status to publisher - CLiwDefaultList* actions= CLiwDefaultList::NewLC(); - actions->AppendL( TLiwVariant( KActive )); - if ( iPlugin->IsActive() ) - { - actions->AppendL( TLiwVariant( KResume ) ); - } - else - { - actions->AppendL( TLiwVariant( KSuspend )); - } - // forward the network status if it uses. - if ( iPlugin->NetworkStatus() == CWrtDataPlugin::EOnline ) + if ( !iPlugin->IsStopped() ) { - actions->AppendL( TLiwVariant( KOnLine )); + // Resent the plugin status to publisher + CLiwDefaultList* actions= CLiwDefaultList::NewLC(); + actions->AppendL( TLiwVariant( KActive )); + if ( iPlugin->IsActive() ) + { + actions->AppendL( TLiwVariant( KResume ) ); + } + else + { + actions->AppendL( TLiwVariant( KSuspend )); + } + // forward the network status if it uses. + if ( iPlugin->NetworkStatus() == CWrtDataPlugin::EOnline ) + { + actions->AppendL( TLiwVariant( KOnLine )); + } + else if ( iPlugin->NetworkStatus() == CWrtDataPlugin::EOffline ) + { + actions->AppendL( TLiwVariant( KOffLine)); + } + + ReSendNotificationL( actions ); + CleanupStack::PopAndDestroy( actions ); } - else if ( iPlugin->NetworkStatus() == CWrtDataPlugin::EOffline ) - { - actions->AppendL( TLiwVariant( KOffLine)); - } - - ReSendNotificationL( actions ); - CleanupStack::PopAndDestroy( actions ); } // ---------------------------------------------------------------------------