aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-autofilter.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@gnome.org>2012-03-02 01:04:32 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-03-03 22:02:34 +0800
commite758de5b1d7f0e257ff034caa9d73db64607a800 (patch)
treea599c6a8898897852a4be59b8a9b34b8203d80de /mail/mail-autofilter.c
parent147687c60f59d6b8a9d484750119102329b6be04 (diff)
downloadgsoc2013-evolution-e758de5b1d7f0e257ff034caa9d73db64607a800.tar.gz
gsoc2013-evolution-e758de5b1d7f0e257ff034caa9d73db64607a800.tar.zst
gsoc2013-evolution-e758de5b1d7f0e257ff034caa9d73db64607a800.zip
Redo Filters/Search folder editors to use a shared non ui based library for
making search folders running remotely.
Diffstat (limited to 'mail/mail-autofilter.c')
-rw-r--r--mail/mail-autofilter.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/mail-autofilter.c b/mail/mail-autofilter.c
index 597c87d9d3..4db48df056 100644
--- a/mail/mail-autofilter.c
+++ b/mail/mail-autofilter.c
@@ -38,8 +38,8 @@
#include "libevolution-utils/e-alert-dialog.h"
#include "e-util/e-util-private.h"
-#include "em-vfolder-context.h"
-#include "em-vfolder-rule.h"
+#include "em-vfolder-editor-context.h"
+#include "em-vfolder-editor-rule.h"
#include "em-vfolder-editor.h"
#include "em-filter-context.h"
@@ -317,9 +317,9 @@ em_vfolder_rule_from_message (EMVFolderContext *context,
uri = e_mail_folder_uri_from_folder (folder);
- session = em_vfolder_context_get_session (context);
+ session = em_vfolder_editor_context_get_session ((EMVFolderEditorContext *) context);
- rule = em_vfolder_rule_new (session);
+ rule = em_vfolder_editor_rule_new (session);
em_vfolder_rule_add_source (EM_VFOLDER_RULE (rule), uri);
rule_from_message (rule, E_RULE_CONTEXT (context), msg, flags);
@@ -344,9 +344,9 @@ em_vfolder_rule_from_address (EMVFolderContext *context,
uri = e_mail_folder_uri_from_folder (folder);
- session = em_vfolder_context_get_session (context);
+ session = em_vfolder_editor_context_get_session ((EMVFolderEditorContext *) context);
- rule = em_vfolder_rule_new (session);
+ rule = em_vfolder_editor_rule_new (session);
em_vfolder_rule_add_source (EM_VFOLDER_RULE (rule), uri);
rule_from_address (rule, E_RULE_CONTEXT (context), addr, flags);