[evolution/wip/gsettings] Bug #633611 - Do not close Add Filter Rule dialog on error
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] Bug #633611 - Do not close Add Filter Rule dialog on error
- Date: Wed, 29 Jun 2011 16:52:47 +0000 (UTC)
commit d7538d3b5dd21a5098c6176941101bac2e52d35b
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]