aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-rule-editor.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2014-02-13 03:45:53 +0800
committerMilan Crha <mcrha@redhat.com>2014-02-13 03:47:07 +0800
commitb48e21d9aa7eb16e559739b71b9d08f90dfa92be (patch)
tree22244f22b235b1dfc80bbc50c7e2ab8eecb91cdf /e-util/e-rule-editor.c
parent4bdbb71da69076287ffbb781109aa5687026349c (diff)
downloadgsoc2013-evolution-b48e21d9aa7eb16e559739b71b9d08f90dfa92be.tar
gsoc2013-evolution-b48e21d9aa7eb16e559739b71b9d08f90dfa92be.tar.gz
gsoc2013-evolution-b48e21d9aa7eb16e559739b71b9d08f90dfa92be.tar.bz2
gsoc2013-evolution-b48e21d9aa7eb16e559739b71b9d08f90dfa92be.tar.lz
gsoc2013-evolution-b48e21d9aa7eb16e559739b71b9d08f90dfa92be.tar.xz
gsoc2013-evolution-b48e21d9aa7eb16e559739b71b9d08f90dfa92be.tar.zst
gsoc2013-evolution-b48e21d9aa7eb16e559739b71b9d08f90dfa92be.zip
Stop using deprecated gtk-stock items
Diffstat (limited to 'e-util/e-rule-editor.c')
-rw-r--r--e-util/e-rule-editor.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/e-util/e-rule-editor.c b/e-util/e-rule-editor.c
index dca7b1d3ab..c99efa1f56 100644
--- a/e-util/e-rule-editor.c
+++ b/e-util/e-rule-editor.c
@@ -177,8 +177,8 @@ rule_add (GtkWidget *widget,
editor->dialog = gtk_dialog_new ();
gtk_dialog_add_buttons (
GTK_DIALOG (editor->dialog),
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_OK, GTK_RESPONSE_OK,
+ _("_Cancel"), GTK_RESPONSE_CANCEL,
+ _("_OK"), GTK_RESPONSE_OK,
NULL);
gtk_window_set_title ((GtkWindow *) editor->dialog, _("Add Rule"));
@@ -279,8 +279,8 @@ rule_edit (GtkWidget *widget,
editor->dialog = gtk_dialog_new ();
gtk_dialog_add_buttons (
(GtkDialog *) editor->dialog,
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_OK, GTK_RESPONSE_OK,
+ _("_Cancel"), GTK_RESPONSE_CANCEL,
+ _("_OK"), GTK_RESPONSE_OK,
NULL);
gtk_window_set_title ((GtkWindow *) editor->dialog, _("Edit Rule"));
@@ -773,7 +773,7 @@ e_rule_editor_construct (ERuleEditor *editor,
gtk_dialog_add_buttons (
GTK_DIALOG (editor),
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_OK, GTK_RESPONSE_OK,
+ _("_Cancel"), GTK_RESPONSE_CANCEL,
+ _("_OK"), GTK_RESPONSE_OK,
NULL);
}