From: Himanshu Date: Mon, 15 Jul 2013 06:04:01 +0000 (+0530) Subject: Fixed issue 46213 and popup changes X-Git-Tag: submit/tizen_2.2/20130716.172725~2 X-Git-Url: http://review.tizen.org/git/?p=apps%2Fosp%2FGallery.git;a=commitdiff_plain;h=abf7c6b3e5c5083bce0d2f81c4d0a244b625f7f0 Fixed issue 46213 and popup changes Change-Id: I8034106f7bb60340e97b276b62e6339bf2ee396d Signed-off-by: Himanshu --- diff --git a/res/screen-size-normal/IDL_FORM_ALBUM_NAME_EDITOR.xml b/res/screen-size-normal/IDL_FORM_ALBUM_NAME_EDITOR.xml index 7e48710..011d6b6 100644 --- a/res/screen-size-normal/IDL_FORM_ALBUM_NAME_EDITOR.xml +++ b/res/screen-size-normal/IDL_FORM_ALBUM_NAME_EDITOR.xml @@ -3,7 +3,7 @@ This XML file was automatically generated by UiBuilder - do not modify by hand. --> - + 720
@@ -20,7 +20,7 @@ - - + + diff --git a/src/GlAlbumListEditorForm.cpp b/src/GlAlbumListEditorForm.cpp index 55530cd..14fa78a 100644 --- a/src/GlAlbumListEditorForm.cpp +++ b/src/GlAlbumListEditorForm.cpp @@ -772,7 +772,7 @@ bool AlbumListEditorForm::OnKeyReleased(Control& source, const Tizen::Ui::KeyEve { AppLogDebug("ENTER"); - if (keyEventInfo.GetKeyCode() == KEY_BACK || keyEventInfo.GetKeyCode() == KEY_ESC) + if (keyEventInfo.GetKeyCode() == KEY_BACK || keyEventInfo.GetKeyCode() == KEY_ESC || keyEventInfo.GetKeyCode() == KEY_BACKSPACE) { __pDeletePopup->SetShowState(false); __pDeletePopup->Show(); diff --git a/src/GlFileListEditorForm.cpp b/src/GlFileListEditorForm.cpp index ef41843..297ba28 100644 --- a/src/GlFileListEditorForm.cpp +++ b/src/GlFileListEditorForm.cpp @@ -1145,7 +1145,7 @@ FileListEditorForm::OnKeyReleased(Control& source, const Tizen::Ui::KeyEventInfo { AppLogDebug("ENTER"); - if(keyEventInfo.GetKeyCode() == KEY_BACK || keyEventInfo.GetKeyCode() == KEY_ESC) + if(keyEventInfo.GetKeyCode() == KEY_BACK || keyEventInfo.GetKeyCode() == KEY_ESC || keyEventInfo.GetKeyCode() == KEY_BACKSPACE) { _overlayMsg = false; __pDeletePopup->SetShowState(false); diff --git a/src/GlSlideShowPopUp.cpp b/src/GlSlideShowPopUp.cpp index 2a5a10e..48c9b4d 100644 --- a/src/GlSlideShowPopUp.cpp +++ b/src/GlSlideShowPopUp.cpp @@ -114,7 +114,7 @@ SlideShowPopUp::OnKeyReleased(Control& source, const Tizen::Ui::KeyEventInfo& ke { AppLogDebug("ENTER"); - if(keyEventInfo.GetKeyCode() == KEY_BACK || keyEventInfo.GetKeyCode() == KEY_ESC) + if(keyEventInfo.GetKeyCode() == KEY_BACK || keyEventInfo.GetKeyCode() == KEY_ESC || keyEventInfo.GetKeyCode() == KEY_BACKSPACE) { Popup::SetShowState(false); Popup::Show();