From 32e9b0c2020c7ed6ef0aac891e811e0547956337 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 25 Jul 2001 18:27:47 +0000 Subject: Now takes a check_supported gboolean argument saying whether or not to 2001-07-25 Jeffrey Stedfast * mail-account-gui.c (build_auth_menu): Now takes a check_supported gboolean argument saying whether or not to disable non-supported authtypes. (source_type_changed): Update for build_auth_menu. (transport_type_changed): Same. (service_check_supported): Pass in TRUE for the disable non-supported authtypes to build_auth_menu and also disable check-supported button and the authtype menu if we get a NULL supported auth list. svn path=/trunk/; revision=11404 --- mail/mail-tools.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mail/mail-tools.c') diff --git a/mail/mail-tools.c b/mail/mail-tools.c index 47f949ac10..c1da8fea98 100644 --- a/mail/mail-tools.c +++ b/mail/mail-tools.c @@ -273,6 +273,7 @@ mail_tool_uri_to_folder (const char *uri, CamelException *ex) return folder; } + /* This hack is still needed for file:/ since it's its own EvolutionStorage type */ if (!strncmp (uri, "vtrash:", 7)) offset = 7; @@ -286,7 +287,7 @@ mail_tool_uri_to_folder (const char *uri, CamelException *ex) } else { store = camel_session_get_store (session, uri + offset, ex); if (store) { - char *name; + const char *name; /* if we have a fragment, then the path is actually used by the store, so the fragment is the path to the folder instead */ -- cgit