[anjal] Partial fix: Keep-on-server default for pop.
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [anjal] Partial fix: Keep-on-server default for pop.
- Date: Wed, 26 Aug 2009 17:56:51 +0000 (UTC)
commit af9d8b3f8893a8ad200931685c7307803206cf6a
Author: Srinivasa Ragavan <sragavan novell com>
Date: Wed Aug 26 23:25:54 2009 +0530
Partial fix: Keep-on-server default for pop.
src/mail-account-view.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/mail-account-view.c b/src/mail-account-view.c
index ebd1487..0681352 100644
--- a/src/mail-account-view.c
+++ b/src/mail-account-view.c
@@ -425,6 +425,10 @@ mav_next_pressed (GtkButton *button, MailAccountView *mav)
camel_url_set_param(url, "check_all", "1");
camel_url_set_param(url, "sync_offline", "1");
+ if (!mav->original && strcmp(url->protocol, "pop") == 0) {
+ e_account_set_bool (mav->edit->account, E_ACCOUNT_SOURCE_KEEP_ON_SERVER, TRUE);
+ }
+
uri = camel_url_to_string(url, 0);
e_account_set_string(mav->edit->account, E_ACCOUNT_SOURCE_URL, uri);
g_free(uri);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]