aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-12-08 23:44:10 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:10 +0800
commitd7538d3b5dd21a5098c6176941101bac2e52d35b (patch)
tree233fef4b94a7a443c11e8ad4128dff4ab6ae3a67
parent60dc92eb4497e5d0c5f600bae9c382da693d9012 (diff)
downloadgsoc2013-evolution-d7538d3b5dd21a5098c6176941101bac2e52d35b.tar
gsoc2013-evolution-d7538d3b5dd21a5098c6176941101bac2e52d35b.tar.gz
gsoc2013-evolution-d7538d3b5dd21a5098c6176941101bac2e52d35b.tar.bz2
gsoc2013-evolution-d7538d3b5dd21a5098c6176941101bac2e52d35b.tar.lz
gsoc2013-evolution-d7538d3b5dd21a5098c6176941101bac2e52d35b.tar.xz
gsoc2013-evolution-d7538d3b5dd21a5098c6176941101bac2e52d35b.tar.zst
gsoc2013-evolution-d7538d3b5dd21a5098c6176941101bac2e52d35b.zip
Bug #633611 - Do not close Add Filter Rule dialog on error
-rw-r--r--filter/e-rule-context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/filter/e-rule-context.c b/filter/e-rule-context.c
index 2ec62536ec..95629be738 100644
--- a/filter/e-rule-context.c
+++ b/filter/e-rule-context.c
@@ -101,6 +101,7 @@ new_rule_response (GtkWidget *dialog,
if (!e_filter_rule_validate (rule, &alert)) {
e_alert_run_dialog (GTK_WINDOW (dialog), alert);
g_object_unref (alert);
+ return;
}
if (e_rule_context_find_rule (context, rule->name, rule->source)) {