aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-12-01 06:44:00 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-12-01 06:44:00 +0800
commit8fa85c39e57e7a4a71fd8beaac0fec733c328ae1 (patch)
tree0652961f25c721e9b664c459f7547b5dca3809bf /mail/mail-config.c
parentbe13fec34348b896b22543dd6f4693ec19d1ac02 (diff)
downloadgsoc2013-evolution-8fa85c39e57e7a4a71fd8beaac0fec733c328ae1.tar.gz
gsoc2013-evolution-8fa85c39e57e7a4a71fd8beaac0fec733c328ae1.tar.zst
gsoc2013-evolution-8fa85c39e57e7a4a71fd8beaac0fec733c328ae1.zip
Don't display a dialog, instead inform the user that there was no new mail
2000-11-30 Jeffrey Stedfast <fejj@helixcode.com> * 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
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c10
1 files changed, 4 insertions, 6 deletions
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 <gtkhtml/gtkhtml.h>
#include <glade/glade.h>
+#include <gal/util/e-util.h>
#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);