diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-12-01 06:44:00 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-12-01 06:44:00 +0800 |
commit | 8fa85c39e57e7a4a71fd8beaac0fec733c328ae1 (patch) | |
tree | 0652961f25c721e9b664c459f7547b5dca3809bf /mail/mail-display.c | |
parent | be13fec34348b896b22543dd6f4693ec19d1ac02 (diff) | |
download | gsoc2013-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-display.c')
-rw-r--r-- | mail/mail-display.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c index 2fd4f83175..0d1f205559 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -123,13 +123,11 @@ make_safe_filename (const char *prefix, CamelMimePart *part) safe = g_strdup_printf ("%s%s", prefix, p); else safe = g_strdup_printf ("%s/%s", prefix, name); - - for (p = strrchr (safe, '/') + 1; *p; p++) { - if (!isascii ((unsigned char)*p) || - strchr (" /'\"`&();|<>${}!", *p)) - *p = '_'; - } - + + p = strrchr (safe, '/') + 1; + if (p) + e_str_make_safe (p); + return safe; } |