aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-tools.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-07-26 02:27:47 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-07-26 02:27:47 +0800
commit32e9b0c2020c7ed6ef0aac891e811e0547956337 (patch)
treee1fdfd77529592a3c21a4a8d57cf20974b88e27c /mail/mail-tools.c
parentee16607d42149ca7472f9b95d3b4bbb676e229c4 (diff)
downloadgsoc2013-evolution-32e9b0c2020c7ed6ef0aac891e811e0547956337.tar
gsoc2013-evolution-32e9b0c2020c7ed6ef0aac891e811e0547956337.tar.gz
gsoc2013-evolution-32e9b0c2020c7ed6ef0aac891e811e0547956337.tar.bz2
gsoc2013-evolution-32e9b0c2020c7ed6ef0aac891e811e0547956337.tar.lz
gsoc2013-evolution-32e9b0c2020c7ed6ef0aac891e811e0547956337.tar.xz
gsoc2013-evolution-32e9b0c2020c7ed6ef0aac891e811e0547956337.tar.zst
gsoc2013-evolution-32e9b0c2020c7ed6ef0aac891e811e0547956337.zip
Now takes a check_supported gboolean argument saying whether or not to
2001-07-25 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'mail/mail-tools.c')
-rw-r--r--mail/mail-tools.c3
1 files changed, 2 insertions, 1 deletions
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 */