[Tizen-submit] 3362: Changes to Tizen:2.1:Main/apps.Email

noreply at tizen.org noreply at tizen.org
Fri Apr 26 14:20:11 GMT 2013


Hi,
Jinkun Jang have made the following changes to apps.Email in project Tizen:2.1:Main. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #3362

  submit:       Tizen:2.1:Main:build/apps.Email(cleanup) -> Tizen:2.1:Main


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: upload latest
Git project: apps/osp/Email
Tag: submit/tizen_2.1/20130426.142039
Commit: 7f0be4f Fixed NABI issues 36414, 36423, 36415

State:   new        2013-04-26T06:50:49 tizenrobot
Comment: <no comment>
spec files:
-----------
--- apps.Email.spec
+++ apps.Email.spec
@@ -2,7 +2,7 @@
 Summary:    Email application
 Version:    1.0.0
 Release:    1
-VCS:        apps/osp/Email#2.1_release-0-g746a269
+VCS:        apps/osp/Email#submit/tizen_2.1/20130426.142039-0-g7f0be4f
 Group:      TO_BE/FILLED_IN
 License:    TO BE FILLED IN
 Source0:    %{name}-%{version}.tar.gz

other changes:
--------------

++++++ apps.Email-1.0.0.tar.gz
--- /inc/EmSearchForm.h
+++ /inc/EmSearchForm.h
@@ -43,6 +43,7 @@
 	, public Tizen::Ui::Controls::IGroupedListViewItemEventListener
 	, public Tizen::Ui::IActionEventListener
 	, public Tizen::Ui::IKeypadEventListener
+	, public Tizen::Ui::IOrientationEventListener
 	, public Tizen::Ui::ITextEventListener
 	, public Tizen::Ui::Scenes::ISceneEventListener
 {
@@ -79,6 +80,8 @@
 	 */
 	virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
 
+	virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);
+
 	// Called when a text is changed.
 	virtual void OnTextValueChanged(const Tizen::Ui::Control& source);
 
--- /src/EmBasePresentationModel.cpp
+++ /src/EmBasePresentationModel.cpp
@@ -1087,7 +1087,11 @@
 	else
 	{
 		EmailMessageListItem* pMail = GetMailData(groupIndex, itemIndex);
-		_pSelectedMailList->Remove(*pMail);
+
+		if (_pSelectedMailList->Contains(*pMail) == true)
+		{
+			_pSelectedMailList->Remove(*pMail);
+		}
 	}
 
 	AppLogDebug("EXIT");
@@ -1100,7 +1104,7 @@
 	AppLogDebug("ENTER, pMail:(%x)", pMail);
 	AppLogDebugIf(pMail != null, "mailId:(%d)", pMail->GetMailId());
 
-	if (_pSelectedMailList->GetCount() > 0)
+	if (_pSelectedMailList->GetCount() > 0 && _pSelectedMailList->Contains(*pMail) == true)
 	{
 		_pSelectedMailList->Remove(*pMail, false);
 	}
--- /src/EmComposerForm.cpp
+++ /src/EmComposerForm.cpp
@@ -1096,6 +1096,24 @@
 					pArgs->Add(new (std::nothrow) Integer(__mailboxId));
 					pArgs->Add(__pLauncherPresentationModel);
 					pArgs->Add(new (std::nothrow) Integer(__mailboxType));
+
+					if (__accountId != -1)
+					{
+						if (__mailboxType == EMAIL_MAILBOX_TYPE_USER_DEFINED || __mailboxType == EMAIL_MAILBOX_TYPE_ALL_EMAILS || __mailboxType == EMAIL_MAILBOX_TYPE_SEARCH_RESULT || __mailboxType == EMAIL_MAILBOX_TYPE_FLAGGED)
+						{
+							__pLauncherPresentationModel->FetchData(__accountId, __mailboxId, __mailboxType);
+						}
+						else
+						{
+							__pLauncherPresentationModel->FetchData(__accountId);
+						}
+					}
+					else
+					{
+						__pLauncherPresentationModel->FetchData(__accountId, __mailboxId, __mailboxType);
+					}
+
+					__pLauncherPresentationModel->SortBy(__pLauncherPresentationModel->GetSortType());
 				}

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list