[evolution-data-server] imap[x]: Remove shell command option from user interfaces.



commit 994323fee9b9c8b6ad85a9fea36574b7992e45e8
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Jun 9 10:48:34 2012 -0400

    imap[x]: Remove shell command option from user interfaces.
    
    Do not expose the IMAP shell command option in user interfaces.  I know
    of only one user of this feature, and it's far too esoteric and eats up
    too much screen real estate for Evolution's account editor.
    
    The option is still supported, but the shell command needs to be set
    directly in the account's key file now.  Key files are easier to read
    and edit than the old GConf XML blobs so I think this is a reasonable
    requirement.
    
    Same goes for "Number of cached connections to use" in IMAPX: most users
    won't know what that means, so change it in the key file if you need to.

 camel/providers/imap/camel-imap-provider.c   |    9 ---------
 camel/providers/imapx/camel-imapx-provider.c |   11 -----------
 2 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/camel/providers/imap/camel-imap-provider.c b/camel/providers/imap/camel-imap-provider.c
index e5786c9..37b6deb 100644
--- a/camel/providers/imap/camel-imap-provider.c
+++ b/camel/providers/imap/camel-imap-provider.c
@@ -43,15 +43,6 @@ static CamelProviderConfEntry imap_conf_entries[] = {
 	{ CAMEL_PROVIDER_CONF_CHECKBOX, "check-subscribed", NULL,
 	  N_("Ch_eck for new messages in subscribed folders"), "0" },
 	{ CAMEL_PROVIDER_CONF_SECTION_END },
-#ifndef G_OS_WIN32
-	{ CAMEL_PROVIDER_CONF_SECTION_START, "cmdsection", NULL,
-	  N_("Connection to Server") },
-	{ CAMEL_PROVIDER_CONF_CHECKBOX, "use-shell-command", NULL,
-	  N_("_Use custom command to connect to server"), "0" },
-	{ CAMEL_PROVIDER_CONF_ENTRY, "shell-command", "use-shell-command",
-	  N_("Co_mmand:"), "ssh -C -l %u %h exec /usr/sbin/imapd" },
-	{ CAMEL_PROVIDER_CONF_SECTION_END },
-#endif
 	{ CAMEL_PROVIDER_CONF_SECTION_START, "folders", NULL,
 	  N_("Folders") },
 	{ CAMEL_PROVIDER_CONF_CHECKBOX, "use-subscriptions", NULL,
diff --git a/camel/providers/imapx/camel-imapx-provider.c b/camel/providers/imapx/camel-imapx-provider.c
index 9c87264..649c346 100644
--- a/camel/providers/imapx/camel-imapx-provider.c
+++ b/camel/providers/imapx/camel-imapx-provider.c
@@ -45,17 +45,6 @@ CamelProviderConfEntry imapx_conf_entries[] = {
 	{ CAMEL_PROVIDER_CONF_CHECKBOX, "use-idle", NULL,
 	  N_("_Listen for server change notifications"), "1" },
 	{ CAMEL_PROVIDER_CONF_SECTION_END },
-#ifndef G_OS_WIN32
-	{ CAMEL_PROVIDER_CONF_SECTION_START, "cmdsection", NULL,
-	  N_("Connection to Server") },
-	{ CAMEL_PROVIDER_CONF_CHECKBOX, "use-shell-command", NULL,
-	  N_("_Use custom command to connect to server"), "0" },
-	{ CAMEL_PROVIDER_CONF_ENTRY, "shell-command", "use-shell-command",
-	  N_("Command:"), "ssh -C -l %u %h exec /usr/sbin/dovecot --exec-mail imap" },
-	{ CAMEL_PROVIDER_CONF_CHECKSPIN, "concurrent-connections", NULL,
-	  N_("Numbe_r of cached connections to use"), "y:1:5:7" },
-	{ CAMEL_PROVIDER_CONF_SECTION_END },
-#endif
 	{ CAMEL_PROVIDER_CONF_SECTION_START, "folders", NULL,
 	  N_("Folders") },
 	{ CAMEL_PROVIDER_CONF_CHECKBOX, "use-subscriptions", NULL,



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