diff options
author | Simon Zheng <simon.zheng@sun.com> | 2006-01-10 16:10:30 +0800 |
---|---|---|
committer | Harry Lu <haip@src.gnome.org> | 2006-01-10 16:10:30 +0800 |
commit | 3e82887a540bab50ee5e15eb4bc7e143e5bb34f1 (patch) | |
tree | f7a632d980d0b7824fbfb4ce9cf940af1f10a257 /mail/em-utils.c | |
parent | e459ad918e6453c8a0be1415a22311bdeabb06a8 (diff) | |
download | gsoc2013-evolution-3e82887a540bab50ee5e15eb4bc7e143e5bb34f1.tar.gz gsoc2013-evolution-3e82887a540bab50ee5e15eb4bc7e143e5bb34f1.tar.zst gsoc2013-evolution-3e82887a540bab50ee5e15eb4bc7e143e5bb34f1.zip |
Use e_util_mkdir_hier() instead of e_mkdir_hier().
2006-01-10 Simon Zheng <simon.zheng@sun.com>
* em-composer-utils.c:
* em-folder-tree-model.c: (em_folder_tree_model_save_state):
* em-format-html.c:
* em-migrate.c: (cp_r), (em_migrate_folder),
(em_migrate_pop_uid_caches_1_4),
(em_migrate_folder_expand_state_1_4),
(em_migrate_folder_view_settings_1_4),
(em_migrate_imap_cmeta_1_4),
(em_migrate_1_4), (emm_setup_initial),
(em_migrate):
* em-popup.c:
* em-utils.c: (em_utils_save_part_to_file):
* mail-component.c: (mail_component_init):
* mail-config.c:
* mail-folder-cache.c:
* mail-mt.c:
* mail-ops.c:
* mail-tools.c: (mail_tool_get_local_movemail_path):
Use e_util_mkdir_hier() instead of e_mkdir_hier().
Use e_util_strstrcase() instead of e_strstrcasea().
use e_strftime() in evolution-data-server/
libedataserver/e-data-server-util.c instead of the copy in
evolution/e-util/e-util.c.
use e_filename_make_safe() in evolution-data-server/
libedataserver/e-data-server-util.c instead of the copy in
evolution/e-util/e-util.c.
use e_utf8_strftime() in evolution-data-server/
libedataserver/e-data-server-util.c instead of the copy in
evolution/e-util/e-util.c.
svn path=/trunk/; revision=31118
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r-- | mail/em-utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c index 96095dcc40..059057d5a1 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -68,6 +68,7 @@ #include "mail-config.h" #include "message-tag-followup.h" +#include <libedataserver/e-data-server-util.h> #include "e-util/e-util.h" #include "e-util/e-util-private.h" #include "e-util/e-mktemp.h" @@ -593,7 +594,7 @@ em_utils_save_part_to_file(GtkWidget *parent, const char *filename, CamelMimePar return FALSE; dirname = g_path_get_dirname(filename); - if (camel_mkdir(dirname, 0777) == -1) { + if (e_util_mkdir_hier(dirname, 0777) == -1) { e_error_run((GtkWindow *)parent, "mail:no-create-path", filename, g_strerror(errno), NULL); g_free(dirname); return FALSE; |