diff -r b8fae6b8a148 -r d05a55b217df idlehomescreen/xmluicontroller/src/aieventhandler.cpp --- a/idlehomescreen/xmluicontroller/src/aieventhandler.cpp Wed Mar 31 21:17:19 2010 +0300 +++ b/idlehomescreen/xmluicontroller/src/aieventhandler.cpp Wed Apr 14 15:47:59 2010 +0300 @@ -30,7 +30,6 @@ #include "xnnodeappif.h" #include "aistrcnv.h" -#include #include using namespace AiXmlUiController; @@ -59,27 +58,6 @@ const TUid KVideoCallUid = { 0x101F8681 }; // ======== LOCAL FUNCTIONS ======== -// ---------------------------------------------------------------------------- -// Shows the Homescreen specific help item -// ---------------------------------------------------------------------------- -// -static void ShowHelpL( const TDesC& aHelpString ) - { - TUid fwUid = TUid::Uid( AI_UID3_AIFW_COMMON ); - TCoeContextName helpString; - helpString.Copy( aHelpString ); - - CArrayFixFlat* array = - new (ELeave) CArrayFixFlat(1); - CleanupStack::PushL( array ); - - array->AppendL( TCoeHelpContext( fwUid, helpString ) ); - - HlpLauncher::LaunchHelpApplicationL( - CCoeEnv::Static()->WsSession(), array ); - - CleanupStack::Pop( array ); - } // --------------------------------------------------------------------------- // Activates Phone application either in video call or normal view @@ -175,14 +153,9 @@ } else if ( event == AiUiDef::xml::event::KEventShowHelp ) { - if( iUiController.UiEngineL()->IsEditMode() ) - { - ShowHelpL( KSET_HLP_HOME_SCREEN_EDIT ); - } - else - { - ShowHelpL( KSET_HLP_HOME_SCREEN ); - } + HlpLauncher::LaunchHelpApplicationL( + CCoeEnv::Static()->WsSession(), + CCoeEnv::Static()->AppUi()->AppHelpContextL() ); } else if ( event == AiUiDef::xml::event::KEventActivatePhoneView ) {