aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-08-12 10:48:14 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-12 10:48:14 +0800
commit5e31896863e915fb2a7f613c029fb91aeaa2e42c (patch)
tree7285b6fe20b7ce771557cccce4a83792d695b45f /plugins
parentf594ec520342f88c0870dabd7205073aa72654cb (diff)
downloadgsoc2013-evolution-5e31896863e915fb2a7f613c029fb91aeaa2e42c.tar
gsoc2013-evolution-5e31896863e915fb2a7f613c029fb91aeaa2e42c.tar.gz
gsoc2013-evolution-5e31896863e915fb2a7f613c029fb91aeaa2e42c.tar.bz2
gsoc2013-evolution-5e31896863e915fb2a7f613c029fb91aeaa2e42c.tar.lz
gsoc2013-evolution-5e31896863e915fb2a7f613c029fb91aeaa2e42c.tar.xz
gsoc2013-evolution-5e31896863e915fb2a7f613c029fb91aeaa2e42c.tar.zst
gsoc2013-evolution-5e31896863e915fb2a7f613c029fb91aeaa2e42c.zip
Get the pst-import plugin working.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/pst-import/pst-importer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/pst-import/pst-importer.c b/plugins/pst-import/pst-importer.c
index 06473e8340..5dd164a47f 100644
--- a/plugins/pst-import/pst-importer.c
+++ b/plugins/pst-import/pst-importer.c
@@ -61,7 +61,7 @@
#include <camel/camel-stream-fs.h>
#include <camel/camel-file-utils.h>
-#include <mail/mail-component.h>
+#include <mail/e-mail-local.h>
#include <mail/mail-mt.h>
#include <mail/mail-tools.h>
#include <mail/em-utils.h>
@@ -225,7 +225,7 @@ get_suggested_foldername (EImportTargetURI *target)
/* Suggest a folder that is in the same mail storage as the users' inbox,
with a name derived from the .PST file */
- inbox = mail_component_get_folder_uri (NULL, MAIL_COMPONENT_FOLDER_INBOX);
+ inbox = e_mail_local_get_folder_uri (E_MAIL_FOLDER_INBOX);
delim = g_strrstr (inbox, "#");
if (delim != NULL) {
@@ -914,7 +914,7 @@ pst_process_email (PstImporter *m, pst_item *item)
if (item->email->importance == 2)
camel_message_info_set_flags (info, CAMEL_MESSAGE_FLAGGED, ~0);
- if (item->email->flag && 0x08)
+ if (item->flags && 0x08)
camel_message_info_set_flags (info, CAMEL_MESSAGE_DRAFT, ~0);
camel_folder_append_message (m->folder, msg, info, NULL, &m->ex);