aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-12-08 23:44:10 +0800
committerMilan Crha <mcrha@redhat.com>2010-12-08 23:44:10 +0800
commit1a7b4d481cd322f901808461d831bfa40f346922 (patch)
treee0be3503caf4faf59ed2a9eb0a1546f5b622c31e
parentfb1874306786d0ef9527463bfed870dc07915084 (diff)
downloadgsoc2013-evolution-1a7b4d481cd322f901808461d831bfa40f346922.tar.gz
gsoc2013-evolution-1a7b4d481cd322f901808461d831bfa40f346922.tar.zst
gsoc2013-evolution-1a7b4d481cd322f901808461d831bfa40f346922.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)) {