aboutsummaryrefslogtreecommitdiffstats
path: root/filter/rule-editor.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-22 08:14:29 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-22 08:14:29 +0800
commitaedb33b3af7c5c01aa220fe3ab51a111a31c8922 (patch)
treef1192601bc43a0b61b003080602431e14be5e289 /filter/rule-editor.c
parenta517acfa3905829e5587c756c046bce8c9c1c241 (diff)
downloadgsoc2013-evolution-aedb33b3af7c5c01aa220fe3ab51a111a31c8922.tar
gsoc2013-evolution-aedb33b3af7c5c01aa220fe3ab51a111a31c8922.tar.gz
gsoc2013-evolution-aedb33b3af7c5c01aa220fe3ab51a111a31c8922.tar.bz2
gsoc2013-evolution-aedb33b3af7c5c01aa220fe3ab51a111a31c8922.tar.lz
gsoc2013-evolution-aedb33b3af7c5c01aa220fe3ab51a111a31c8922.tar.xz
gsoc2013-evolution-aedb33b3af7c5c01aa220fe3ab51a111a31c8922.tar.zst
gsoc2013-evolution-aedb33b3af7c5c01aa220fe3ab51a111a31c8922.zip
Validate the rule before closing.
2001-03-21 Jeffrey Stedfast <fejj@ximian.com> * rule-context.c (new_rule_clicked): Validate the rule before closing. svn path=/trunk/; revision=8879
Diffstat (limited to 'filter/rule-editor.c')
-rw-r--r--filter/rule-editor.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/filter/rule-editor.c b/filter/rule-editor.c
index 0098f959e9..4826cdf01c 100644
--- a/filter/rule-editor.c
+++ b/filter/rule-editor.c
@@ -190,7 +190,7 @@ add_editor_clicked (GtkWidget *dialog, int button, RuleEditor *re)
switch (button) {
case 0:
if (!filter_rule_validate (re->edit)) {
- /* FIXME: popup an error or somelthing? */
+ /* no need to popup a dialog because the validate code does that. */
return;
}
@@ -255,7 +255,7 @@ edit_editor_clicked (GtkWidget *dialog, int button, RuleEditor *re)
switch (button) {
case 0:
if (!filter_rule_validate (re->edit)) {
- /* FIXME: popup an error or something? */
+ /* no need to popup a dialog because the validate code does that. */
return;
}
@@ -471,4 +471,3 @@ rule_editor_construct(RuleEditor *re, RuleContext *context, GladeXML *gui, const
gnome_dialog_append_buttons((GnomeDialog *)re, GNOME_STOCK_BUTTON_OK, GNOME_STOCK_BUTTON_CANCEL, 0);
}
-