From 8fa85c39e57e7a4a71fd8beaac0fec733c328ae1 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 30 Nov 2000 22:44:00 +0000 Subject: Don't display a dialog, instead inform the user that there was no new mail 2000-11-30 Jeffrey Stedfast * mail-ops.c (cleanup_fetch_mail): Don't display a dialog, instead inform the user that there was no new mail by setting a status message. * message-list.c (message_list_drag_data_get): Use the new e_str_make_safe function. * mail-display.c (make_safe_filename): And here. * mail-config.c (mail_config_folder_to_cachename): Here too. svn path=/trunk/; revision=6745 --- mail/mail-config.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'mail/mail-config.c') diff --git a/mail/mail-config.c b/mail/mail-config.c index df8d7bc0a3..2bbd9194f3 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -33,6 +33,7 @@ #include #include +#include #include "e-util/e-html-utils.h" #include "mail.h" #include "mail-config.h" @@ -567,13 +568,10 @@ mail_config_add_news (MailConfigService *news) char * mail_config_folder_to_cachename(CamelFolder *folder, const char *prefix) { - char *url, *p, *filename; - + char *url, *filename; + url = camel_url_to_string(CAMEL_SERVICE(folder->parent_store)->url, FALSE); - for (p = url; *p; p++) { - if (!isprint((unsigned char)*p) || strchr(" /'\"`&();|<>${}!", *p)) - *p = '_'; - } + e_str_make_safe (url); filename = g_strdup_printf("%s/config/%s%s", evolution_dir, prefix, url); g_free(url); -- cgit