[evolution] Bug #633611 - Do not close Add Filter Rule dialog on error
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #633611 - Do not close Add Filter Rule dialog on error
- Date: Wed, 8 Dec 2010 15:45:56 +0000 (UTC)
commit 1a7b4d481cd322f901808461d831bfa40f346922
Author: Milan Crha <mcrha redhat com>
Date: Wed Dec 8 16:44:10 2010 +0100
Bug #633611 - Do not close Add Filter Rule dialog on error
filter/e-rule-context.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/filter/e-rule-context.c b/filter/e-rule-context.c
index 2ec6253..95629be 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)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]