aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-vfolder-editor.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/em-vfolder-editor.c
parent147687c60f59d6b8a9d484750119102329b6be04 (diff)
downloadgsoc2013-evolution-e758de5b1d7f0e257ff034caa9d73db64607a800.tar
gsoc2013-evolution-e758de5b1d7f0e257ff034caa9d73db64607a800.tar.gz
gsoc2013-evolution-e758de5b1d7f0e257ff034caa9d73db64607a800.tar.bz2
gsoc2013-evolution-e758de5b1d7f0e257ff034caa9d73db64607a800.tar.lz
gsoc2013-evolution-e758de5b1d7f0e257ff034caa9d73db64607a800.tar.xz
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/em-vfolder-editor.c')
-rw-r--r--mail/em-vfolder-editor.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/em-vfolder-editor.c b/mail/em-vfolder-editor.c
index ef3e0fb3ca..48f1395430 100644
--- a/mail/em-vfolder-editor.c
+++ b/mail/em-vfolder-editor.c
@@ -34,7 +34,7 @@
#include "e-util/e-util-private.h"
#include "em-vfolder-editor.h"
-#include "em-vfolder-rule.h"
+#include "em-vfolder-editor-rule.h"
G_DEFINE_TYPE (
EMVFolderEditor,
@@ -44,16 +44,16 @@ G_DEFINE_TYPE (
static EFilterRule *
vfolder_editor_create_rule (ERuleEditor *rule_editor)
{
- EMVFolderContext *context;
+ EMVFolderEditorContext *context;
EMailSession *session;
EFilterRule *rule;
EFilterPart *part;
- context = EM_VFOLDER_CONTEXT (rule_editor->context);
- session = em_vfolder_context_get_session (context);
+ context = EM_VFOLDER_EDITOR_CONTEXT (rule_editor->context);
+ session = em_vfolder_editor_context_get_session (context);
/* create a rule with 1 part in it */
- rule = em_vfolder_rule_new (session);
+ rule = em_vfolder_editor_rule_new (session);
part = e_rule_context_next_part (rule_editor->context, NULL);
e_filter_rule_add_part (rule, e_filter_part_clone (part));