aboutsummaryrefslogtreecommitdiffstats
path: root/filter/rule-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'filter/rule-editor.c')
-rw-r--r--filter/rule-editor.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/filter/rule-editor.c b/filter/rule-editor.c
index 903eab8cec..3e9290801f 100644
--- a/filter/rule-editor.c
+++ b/filter/rule-editor.c
@@ -737,6 +737,10 @@ rule_editor_construct (RuleEditor *re, RuleContext *context, GladeXML *gui, cons
GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT,
GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
NULL);
- } else
- gtk_dialog_add_buttons ((GtkDialog *) re, GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL);
+ } else {
+ gtk_dialog_add_buttons ((GtkDialog *) re,
+ GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ GTK_STOCK_OK, GTK_RESPONSE_ACCEPT,
+ NULL);
+ }
}