[anjal] BUGFIX: Moblin Bugzilla #4506 - Sending/Receiving pages skipped.



commit ba61d34fff2b576c4d8fd6970ae6897d57b95392
Author: Srinivasa Ragavan <sragavan novell com>
Date:   Sun Jul 19 18:59:31 2009 +0530

    BUGFIX: Moblin Bugzilla #4506 - Sending/Receiving pages skipped.

 src/mail-account-view.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/mail-account-view.c b/src/mail-account-view.c
index 1bc0372..ec6c63b 100644
--- a/src/mail-account-view.c
+++ b/src/mail-account-view.c
@@ -428,7 +428,7 @@ mav_next_pressed (GtkButton *button, MailAccountView *mav)
 		mav->pages[mav->current_page]->done = TRUE;
 		if (mail_account_pages[mav->current_page].path) {
 
-			if (em_account_editor_check(mav->edit, mail_account_pages[mav->current_page].path))
+			if (!mav->original && em_account_editor_check(mav->edit, mail_account_pages[mav->current_page].path))
 				mav_next_pressed (NULL, mav);
 		}
 	}
@@ -571,7 +571,7 @@ mail_account_view_new (EAccount *account)
 	MailAccountView *view = g_object_new (MAIL_ACCOUNT_VIEW_TYPE, NULL);
 	view->type = MAIL_VIEW_ACCOUNT;
 	view->uri = "account://";
-	view->original = mail_config_get_default_account();
+	view->original = account;
 	mail_account_view_construct (view);
 	
 	return view;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]