aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree-model.c
diff options
context:
space:
mode:
authorSimon Zheng <simon.zheng@sun.com>2006-01-10 16:10:30 +0800
committerHarry Lu <haip@src.gnome.org>2006-01-10 16:10:30 +0800
commit3e82887a540bab50ee5e15eb4bc7e143e5bb34f1 (patch)
treef7a632d980d0b7824fbfb4ce9cf940af1f10a257 /mail/em-folder-tree-model.c
parente459ad918e6453c8a0be1415a22311bdeabb06a8 (diff)
downloadgsoc2013-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-folder-tree-model.c')
-rw-r--r--mail/em-folder-tree-model.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c
index 5b30993ce3..219ba75225 100644
--- a/mail/em-folder-tree-model.c
+++ b/mail/em-folder-tree-model.c
@@ -35,6 +35,7 @@
#include <libxml/parser.h>
#include <libedataserver/e-xml-utils.h>
+#include <libedataserver/e-data-server-util.h>
#include <e-util/e-mktemp.h>
@@ -1052,7 +1053,7 @@ em_folder_tree_model_save_state (EMFolderTreeModel *model)
return;
dirname = g_path_get_dirname (model->filename);
- if (camel_mkdir (dirname, 0777) == -1 && errno != EEXIST) {
+ if (e_util_mkdir_hier (dirname, 0777) == -1 && errno != EEXIST) {
g_free (dirname);
return;
}