# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1262861188 -7200 # Node ID ceeb73e410b500e5537995a7ce373d21490efbba # Parent d11fb78c43748c72efd1dedb818cd263a18170e1 Revision: 200951 Kit: 201001 diff -r d11fb78c4374 -r ceeb73e410b5 ImagePrint/ImagePrintUI/imageprintapp/data/imageprintapp.rss --- a/ImagePrint/ImagePrintUI/imageprintapp/data/imageprintapp.rss Thu Dec 17 08:45:53 2009 +0200 +++ b/ImagePrint/ImagePrintUI/imageprintapp/data/imageprintapp.rss Thu Jan 07 12:46:28 2010 +0200 @@ -94,6 +94,7 @@ { command = ESettingsChangeItem; txt = qtn_print_settings_opt_change; + flags = EEikMenuItemAction;//Add for Single click event }, MENU_ITEM { @@ -301,7 +302,8 @@ */ RESOURCE AVKON_SETTING_PAGE r_setting_generic_protocol_page { - softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL; + //softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL;// removed due to single click + softkey_resource = R_AVKON_SOFTKEYS_CANCEL ; type = EAknCtPopupSettingList; editor_resource_id = r_empty_protocol_setting_list; } diff -r d11fb78c4374 -r ceeb73e410b5 ImagePrint/ImagePrintUI/imageprintapp/src/cimageprintappui.cpp --- a/ImagePrint/ImagePrintUI/imageprintapp/src/cimageprintappui.cpp Thu Dec 17 08:45:53 2009 +0200 +++ b/ImagePrint/ImagePrintUI/imageprintapp/src/cimageprintappui.cpp Thu Jan 07 12:46:28 2010 +0200 @@ -73,8 +73,8 @@ void CImagePrintAppUi::ConstructL() { LOG("CImagePrintAppUi::ConstructL BEGIN"); - - BaseConstructL( EAknEnableSkin | EAppOrientationAutomatic | EAknEnableMSK ); + // Add EAknSingleClickCompatible to BaseConstructL function parameter for single click event + BaseConstructL( EAknEnableSkin | EAppOrientationAutomatic | EAknEnableMSK | EAknSingleClickCompatible ); FeatureManager::InitializeLibL(); diff -r d11fb78c4374 -r ceeb73e410b5 ImagePrint/ImagePrintUI/imageprintapp/src/cpropertiesboxmodel.cpp --- a/ImagePrint/ImagePrintUI/imageprintapp/src/cpropertiesboxmodel.cpp Thu Dec 17 08:45:53 2009 +0200 +++ b/ImagePrint/ImagePrintUI/imageprintapp/src/cpropertiesboxmodel.cpp Thu Jan 07 12:46:28 2010 +0200 @@ -236,8 +236,8 @@ TListBoxEvent aEventType ) { LOG("CPropertiesBoxModel::HandleListBoxEventL START"); - - if ( (aEventType == EEventEnterKeyPressed || aEventType == EEventItemDoubleClicked) && + //Change to EEventItemSingleClicked for Single click event + if ( (aEventType == EEventEnterKeyPressed || aEventType == EEventItemSingleClicked ) && aListBox->CurrentItemIndex() != KErrNotFound ) { if( aListBox->CurrentItemIndex() == 0 ) diff -r d11fb78c4374 -r ceeb73e410b5 ImagePrint/ImagePrintUI/imageprinteng/data/imageprintengine.rss --- a/ImagePrint/ImagePrintUI/imageprinteng/data/imageprintengine.rss Thu Dec 17 08:45:53 2009 +0200 +++ b/ImagePrint/ImagePrintUI/imageprinteng/data/imageprintengine.rss Thu Jan 07 12:46:28 2010 +0200 @@ -41,7 +41,8 @@ */ RESOURCE AVKON_SETTING_PAGE r_setting_generic_page { - softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL; + //softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL; // Removed due to single click + softkey_resource = R_AVKON_SOFTKEYS_CANCEL ; type = EAknCtPopupSettingList; editor_resource_id = r_empty_setting_list; }