Change some IMAPx defaults
authorMilan Crha <mcrha@redhat.com>
Wed, 13 Mar 2013 17:17:09 +0000 (18:17 +0100)
committerMilan Crha <mcrha@redhat.com>
Wed, 13 Mar 2013 17:17:09 +0000 (18:17 +0100)
- Disable QResync, because it seems to cause trouble
- Disable IDLE for similar reason
- Disable "Show only subscribed folders", thus users see rather more, than less

These are only defaults, when user creates a new IMAPx account, and can
be changed anytime. It doesn't influence already created accounts.

camel/camel-imapx-settings.c
camel/providers/imapx/camel-imapx-provider.c

index c01f13e..ffd8fd5 100644 (file)
@@ -661,7 +661,7 @@ camel_imapx_settings_class_init (CamelIMAPXSettingsClass *class)
                        "use-idle",
                        "Use IDLE",
                        "Whether to use the IDLE IMAP extension",
-                       TRUE,
+                       FALSE,
                        G_PARAM_READWRITE |
                        G_PARAM_CONSTRUCT |
                        G_PARAM_STATIC_STRINGS));
@@ -685,7 +685,7 @@ camel_imapx_settings_class_init (CamelIMAPXSettingsClass *class)
                        "use-qresync",
                        "Use QRESYNC",
                        "Whether to use the QRESYNC IMAP extension",
-                       TRUE,
+                       FALSE,
                        G_PARAM_READWRITE |
                        G_PARAM_CONSTRUCT |
                        G_PARAM_STATIC_STRINGS));
@@ -734,7 +734,7 @@ camel_imapx_settings_class_init (CamelIMAPXSettingsClass *class)
                        "use-subscriptions",
                        "Use Subscriptions",
                        "Whether to honor folder subscriptions",
-                       TRUE,
+                       FALSE,
                        G_PARAM_READWRITE |
                        G_PARAM_CONSTRUCT |
                        G_PARAM_STATIC_STRINGS));
index f5299b4..a31a9b7 100644 (file)
@@ -41,14 +41,14 @@ CamelProviderConfEntry imapx_conf_entries[] = {
        { CAMEL_PROVIDER_CONF_CHECKBOX, "check-subscribed", NULL,
          N_("Ch_eck for new messages in subscribed folders"), "0" },
        { CAMEL_PROVIDER_CONF_CHECKBOX, "use-qresync", NULL,
-         N_("Use _Quick Resync if the server supports it"), "1" },
+         N_("Use _Quick Resync if the server supports it"), "0" },
        { CAMEL_PROVIDER_CONF_CHECKBOX, "use-idle", NULL,
-         N_("_Listen for server change notifications"), "1" },
+         N_("_Listen for server change notifications"), "0" },
        { CAMEL_PROVIDER_CONF_SECTION_END },
        { CAMEL_PROVIDER_CONF_SECTION_START, "folders", NULL,
          N_("Folders") },
        { CAMEL_PROVIDER_CONF_CHECKBOX, "use-subscriptions", NULL,
-         N_("_Show only subscribed folders"), "1" },
+         N_("_Show only subscribed folders"), "0" },
 #if 0
        { CAMEL_PROVIDER_CONF_CHECKBOX, "use-namespace", NULL,
          N_("O_verride server-supplied folder namespace"), "0" },