[evolution-data-server/gnome-3-2] Bug 662524 - POP3: Use a safer default value for "delete-after-days"
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-3-2] Bug 662524 - POP3: Use a safer default value for "delete-after-days"
- Date: Tue, 25 Oct 2011 15:12:52 +0000 (UTC)
commit 74b73302f3078a4e4e75ca98f5b73e96b01713a7
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Oct 25 11:08:10 2011 -0400
Bug 662524 - POP3: Use a safer default value for "delete-after-days"
Default to not deleting mail kept on the POP3 server at all rather than
automatically deleting after X days. Helps avoid accidental data loss.
camel/providers/pop3/camel-pop3-settings.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/pop3/camel-pop3-settings.c b/camel/providers/pop3/camel-pop3-settings.c
index 6186384..786fd23 100644
--- a/camel/providers/pop3/camel-pop3-settings.c
+++ b/camel/providers/pop3/camel-pop3-settings.c
@@ -143,6 +143,8 @@ camel_pop3_settings_class_init (CamelPOP3SettingsClass *class)
object_class->set_property = pop3_settings_set_property;
object_class->get_property = pop3_settings_get_property;
+ /* Default to 0 days (i.e. do not delete) so we don't delete
+ * mail on the POP server when the user's not expecting it. */
g_object_class_install_property (
object_class,
PROP_DELETE_AFTER_DAYS,
@@ -152,7 +154,7 @@ camel_pop3_settings_class_init (CamelPOP3SettingsClass *class)
"Delete messages left on server after N days",
0,
365,
- 7,
+ 0,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT |
G_PARAM_STATIC_STRINGS));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]