diff options
author | Not Zed <NotZed@Ximian.com> | 2004-01-07 08:29:28 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-01-07 08:29:28 +0800 |
commit | 56ff62828145ba047aa6b3e058dd1d3a933c7cad (patch) | |
tree | 2ccd0cb825e444e0517feebd4012bf98d582e7b4 /filter/rule-context.c | |
parent | e65211432856044e6b27b4a2aa2906e5baef30e6 (diff) | |
download | gsoc2013-evolution-56ff62828145ba047aa6b3e058dd1d3a933c7cad.tar gsoc2013-evolution-56ff62828145ba047aa6b3e058dd1d3a933c7cad.tar.gz gsoc2013-evolution-56ff62828145ba047aa6b3e058dd1d3a933c7cad.tar.bz2 gsoc2013-evolution-56ff62828145ba047aa6b3e058dd1d3a933c7cad.tar.lz gsoc2013-evolution-56ff62828145ba047aa6b3e058dd1d3a933c7cad.tar.xz gsoc2013-evolution-56ff62828145ba047aa6b3e058dd1d3a933c7cad.tar.zst gsoc2013-evolution-56ff62828145ba047aa6b3e058dd1d3a933c7cad.zip |
** See bug #47751.
2003-08-20 Not Zed <NotZed@Ximian.com>
** See bug #47751.
* rule-editor.c (add_editor_response, edit_editor_response)
(rule_edit, rule_add, rule_editor_construct, editor_response):
* rule-context.c (new_rule_response, rule_context_add_rule_gui):
* filter-datespec.c (button_clicked): RESPONSE_REJECT/ACCEPT ->
RESPONSE_CANCEL/OK
svn path=/trunk/; revision=24082
Diffstat (limited to 'filter/rule-context.c')
-rw-r--r-- | filter/rule-context.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/filter/rule-context.c b/filter/rule-context.c index 5559e15197..0d421fe420 100644 --- a/filter/rule-context.c +++ b/filter/rule-context.c @@ -669,7 +669,7 @@ rule_context_add_rule(RuleContext *rc, FilterRule *new) static void new_rule_response(GtkWidget *dialog, int button, RuleContext *context) { - if (button == GTK_RESPONSE_ACCEPT) { + if (button == GTK_RESPONSE_OK) { FilterRule *rule = g_object_get_data((GObject *) dialog, "rule"); char *user = g_object_get_data((GObject *) dialog, "path"); @@ -716,9 +716,9 @@ rule_context_add_rule_gui(RuleContext *rc, FilterRule *rule, const char *title, dialog =(GtkDialog *) gtk_dialog_new(); gtk_dialog_add_buttons(dialog, - GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT, - GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, - NULL); + GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, + GTK_STOCK_OK, GTK_RESPONSE_OK, + NULL); gtk_window_set_title((GtkWindow *) dialog, title); gtk_window_set_default_size((GtkWindow *) dialog, 600, 400); |