diff -r f966699dea19 -r ff572dfe6d86 idlehomescreen/nativeuicontroller/src/appui.cpp --- a/idlehomescreen/nativeuicontroller/src/appui.cpp Fri Feb 19 22:42:37 2010 +0200 +++ b/idlehomescreen/nativeuicontroller/src/appui.cpp Fri Mar 12 15:41:49 2010 +0200 @@ -197,18 +197,13 @@ iFwEventHandler = iUiCtl->FwEventHandler(); - TAiIdleKeySoundConfig keySoundConfig; - keySoundConfig.iKeySounds = KeySounds(); - keySoundConfig.iContextResId = R_NATIVEUI_DEFAULT_SKEY_LIST; - iIdleIntegration = CAiUiIdleIntegration::NewL - ( *iEikonEnv, keySoundConfig, iFwEventHandler ); - iUiCtl->SetAppUi( this ); if( iFwEventHandler ) { iFwEventHandler->AppEnvReadyL(); } + TBool isFullScreen = EFalse; //Get pointer to status pane CEikStatusPane* statusPane = static_cast( iEikonEnv->EikAppUi() )->StatusPane(); @@ -271,11 +266,12 @@ CCenRepNotifyHandler::EIntKey, KAiStatusPaneLayout ); iNotifyHandler->StartListeningL(); - - if( iFwEventHandler ) - { - iFwEventHandler->HandleUiReadyEventL(*iUiCtl); - } + + TAiIdleKeySoundConfig keySoundConfig; + keySoundConfig.iKeySounds = KeySounds(); + keySoundConfig.iContextResId = R_NATIVEUI_DEFAULT_SKEY_LIST; + iIdleIntegration = CAiUiIdleIntegration::NewL + ( *iEikonEnv, keySoundConfig, iFwEventHandler ); // Check powerkey availability FeatureManager::InitializeLibL(); @@ -625,6 +621,11 @@ { iStanbyContainerIF->StartL(); } + + if( iFwEventHandler ) + { + iFwEventHandler->HandleUiReadyEventL( *iUiCtl ); + } } void CAppUi::HandleNotifyInt( TUint32 aId, TInt aNewValue )