aboutsummaryrefslogtreecommitdiffstats
path: root/filter/rule-editor.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-03-31 18:05:34 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-03-31 18:05:34 +0800
commita4606615f6dadb9b91ab9c501bca405ca6728421 (patch)
tree7349af421c52d644cdb3f47658f604fb81fe85fb /filter/rule-editor.h
parente3289853ca71aa3d5251f82215aca7c141835dad (diff)
downloadgsoc2013-evolution-a4606615f6dadb9b91ab9c501bca405ca6728421.tar
gsoc2013-evolution-a4606615f6dadb9b91ab9c501bca405ca6728421.tar.gz
gsoc2013-evolution-a4606615f6dadb9b91ab9c501bca405ca6728421.tar.bz2
gsoc2013-evolution-a4606615f6dadb9b91ab9c501bca405ca6728421.tar.lz
gsoc2013-evolution-a4606615f6dadb9b91ab9c501bca405ca6728421.tar.xz
gsoc2013-evolution-a4606615f6dadb9b91ab9c501bca405ca6728421.tar.zst
gsoc2013-evolution-a4606615f6dadb9b91ab9c501bca405ca6728421.zip
renamed filter_label to rule_label, and removed the vfolder-editor and
2004-03-31 Not Zed <NotZed@Ximian.com> * filter.glade: renamed filter_label to rule_label, and removed the vfolder-editor and filter-editor windows. * rule-editor.c (rule_editor_new): hide the source widget. * vfolder-editor.c (vfolder_editor_new): hide the source widget. * rule-editor.c (rule_editor_new): add a label argument. * vfolder-editor.c (vfolder_editor_new): ditto below. * filter-editor.c (filter_editor_new): dont add any label here. * rule-editor.c (rule_editor_construct): Put the widget back in the dialogue box here. Add an argument for the area label. ** Revert Rodney's last patch. svn path=/trunk/; revision=25257
Diffstat (limited to 'filter/rule-editor.h')
-rw-r--r--filter/rule-editor.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/filter/rule-editor.h b/filter/rule-editor.h
index d2e9797e46..be216edf73 100644
--- a/filter/rule-editor.h
+++ b/filter/rule-editor.h
@@ -89,15 +89,16 @@ struct _RuleEditorUndo {
int newrank;
};
-GtkType rule_editor_get_type (void);
-RuleEditor *rule_editor_new (struct _RuleContext *, const char *source);
-void rule_editor_construct (RuleEditor *re, RuleContext *context, GladeXML *gui, const char *source);
+GtkType rule_editor_get_type(void);
+RuleEditor *rule_editor_new(RuleContext *rc, const char *source, const char *label);
+
+void rule_editor_construct(RuleEditor *re, RuleContext *context, GladeXML *gui, const char *source, const char *label);
/* methods */
-void rule_editor_set_source (RuleEditor *re, const char *source);
+void rule_editor_set_source(RuleEditor *re, const char *source);
/* calculates the sensitivity of the editor */
-void rule_editor_set_sensitive (RuleEditor *re);
+void rule_editor_set_sensitive(RuleEditor *re);
/* used internally to create a new rule appropriate for the editor */
-struct _FilterRule *rule_editor_create_rule (RuleEditor *re);
+struct _FilterRule *rule_editor_create_rule(RuleEditor *re);
#endif /* ! _RULE_EDITOR_H */