From: Srinivasa Rao Payyavula Date: Fri, 17 Jan 2014 06:45:42 +0000 (+0530) Subject: Fixed automatic screen transition in movemail form while sending an email X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=HEAD;p=apps%2Fnative%2Fpreloaded%2FEmail.git Fixed automatic screen transition in movemail form while sending an email Change-Id: Iace0407d52b4c8ca264b200c45dd5dc5e1240d80 Signed-off-by: Srinivasa Rao Payyavula --- diff --git a/src/EmMailListForm.cpp b/src/EmMailListForm.cpp index 82600d2..23f136b 100755 --- a/src/EmMailListForm.cpp +++ b/src/EmMailListForm.cpp @@ -3157,7 +3157,7 @@ MailListForm::GetItemCount(void) height = __pAccountsListPanel->GetHeight() - (GENERIC_OFFSET_16); } - if (__mode == EDIT_MODE) + if (__mode == EDIT_MODE && height >= __pAccountsListPanel->GetHeight() - (GENERIC_OFFSET_16) - __pSelectedLabel->GetHeight()) { height = height - __pSelectedLabel->GetHeight(); } diff --git a/src/EmMoveMailForm.cpp b/src/EmMoveMailForm.cpp index 8881a4b..dbf7d0a 100755 --- a/src/EmMoveMailForm.cpp +++ b/src/EmMoveMailForm.cpp @@ -79,7 +79,7 @@ EmailMoveMailForm::OnInitializing(void) AppLogDebug("ENTER"); result r = E_SUCCESS; - SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER); + SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE); SetOrientation(ORIENTATION_AUTOMATIC_FOUR_DIRECTION); SetFormBackEventListener(this); @@ -401,7 +401,7 @@ EmailMoveMailForm::OnUserEventReceivedN(RequestId requestId, IList *pArgs) break; default: - // Empty implementation + return; break; } // switch __toMailboxType