aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-12-07 06:30:28 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-12-07 06:30:28 +0800
commit804acf56c64c6259435e40337bc09f7d294876bd (patch)
tree0b7b9cb8578f077445804ca6bd688fdb831f78a7
parentb05cea89b97e1e0d5f01b243d16129615d176b2d (diff)
downloadgsoc2013-evolution-804acf56c64c6259435e40337bc09f7d294876bd.tar
gsoc2013-evolution-804acf56c64c6259435e40337bc09f7d294876bd.tar.gz
gsoc2013-evolution-804acf56c64c6259435e40337bc09f7d294876bd.tar.bz2
gsoc2013-evolution-804acf56c64c6259435e40337bc09f7d294876bd.tar.lz
gsoc2013-evolution-804acf56c64c6259435e40337bc09f7d294876bd.tar.xz
gsoc2013-evolution-804acf56c64c6259435e40337bc09f7d294876bd.tar.zst
gsoc2013-evolution-804acf56c64c6259435e40337bc09f7d294876bd.zip
Use e_filename_make_safe (which used to be e_str_make_safe).
2000-12-06 Jeffrey Stedfast <fejj@helixcode.com> * mail-config.c (mail_config_folder_to_cachename): Use e_filename_make_safe (which used to be e_str_make_safe). * mail-display.c (make_safe_filename): And here. * message-list.c (message_list_drag_data_get): Here too. svn path=/trunk/; revision=6827
-rw-r--r--mail/ChangeLog9
-rw-r--r--mail/mail-config.c2
-rw-r--r--mail/mail-display.c4
-rw-r--r--mail/message-list.c2
4 files changed, 12 insertions, 5 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 8984fe4adc..8b20759f18 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,12 @@
+2000-12-06 Jeffrey Stedfast <fejj@helixcode.com>
+
+ * mail-config.c (mail_config_folder_to_cachename): Use
+ e_filename_make_safe (which used to be e_str_make_safe).
+
+ * mail-display.c (make_safe_filename): And here.
+
+ * message-list.c (message_list_drag_data_get): Here too.
+
2000-12-06 Dan Winship <danw@helixcode.com>
* mail-local.c (cleanup_register_folder): Run the folder_changed
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 18927b4aa3..a9dfe99928 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -588,7 +588,7 @@ mail_config_folder_to_cachename(CamelFolder *folder, const char *prefix)
char *url, *filename;
url = camel_url_to_string(CAMEL_SERVICE(folder->parent_store)->url, FALSE);
- e_str_make_safe (url);
+ e_filename_make_safe (url);
filename = g_strdup_printf("%s/config/%s%s", evolution_dir, prefix, url);
g_free(url);
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 323b62b6a8..6f21db8f6c 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -99,8 +99,6 @@ write_data_to_file (CamelMimePart *part, const char *name, gboolean unique)
if (!charset)
charset = "us-ascii";
- fprintf (stderr, "mime part charset = %s\n", charset);
-
charsetfilter = camel_mime_filter_charset_new_convert ("utf-8", charset);
stream_fs = camel_stream_fs_new_with_fd (fd);
@@ -154,7 +152,7 @@ make_safe_filename (const char *prefix, CamelMimePart *part)
p = strrchr (safe, '/') + 1;
if (p)
- e_str_make_safe (p);
+ e_filename_make_safe (p);
return safe;
}
diff --git a/mail/message-list.c b/mail/message-list.c
index c5895f97c5..bfec8fbd37 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -414,7 +414,7 @@ message_list_drag_data_get (ETable *table,
}
subject = g_strdup (camel_message_info_subject (minfo));
- e_str_make_safe (subject);
+ e_filename_make_safe (subject);
filename = g_strdup_printf ("%s/%s.eml", tmpdir, subject);
g_free (subject);