aboutsummaryrefslogtreecommitdiffstats
path: root/mail/importers
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2009-12-17 00:27:12 +0800
committerJonathon Jongsma <jonathon@quotidian.org>2009-12-17 01:10:02 +0800
commit968ea42023e5e0daf860a7246533311a67f77e05 (patch)
treeb68bd7c80b48c09e332b45c9e3b4ed98fd68efd9 /mail/importers
parent3a0a795a167ed33eaa6a9a73b0edeb854aef6f0f (diff)
downloadgsoc2013-evolution-968ea42023e5e0daf860a7246533311a67f77e05.tar.gz
gsoc2013-evolution-968ea42023e5e0daf860a7246533311a67f77e05.tar.zst
gsoc2013-evolution-968ea42023e5e0daf860a7246533311a67f77e05.zip
Kill em_utils_get_data/config_dir(), push down to MailSession
This pushes the get_data_dir() API down to the right level. At present, it is still implemented by querying the shell backend for the data dir / config dir. But this should eventually be reversed (when mail is split off to EDS) so that the mail daemon is the one responsible for the storage locations and the shell backend queries the daemon for these values.
Diffstat (limited to 'mail/importers')
-rw-r--r--mail/importers/mail-importer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/importers/mail-importer.c b/mail/importers/mail-importer.c
index 6e4573487f..ee1c958d12 100644
--- a/mail/importers/mail-importer.c
+++ b/mail/importers/mail-importer.c
@@ -50,7 +50,7 @@
#include "mail-mt.h"
#include "mail-tools.h"
#include "e-mail-local.h"
-#include "em-utils.h"
+#include "mail-session.h"
#include "mail-importer.h"
@@ -292,7 +292,7 @@ import_folders_rec(struct _import_folders_data *m, const gchar *filepath, const
if (dir == NULL)
return;
- data_dir = em_utils_get_data_dir ();
+ data_dir = mail_session_get_data_dir ();
utf8_filename = g_filename_to_utf8 (filepath, -1, NULL, NULL, NULL);
camel_operation_start(NULL, _("Scanning %s"), utf8_filename);