summaryrefslogtreecommitdiff
path: root/plugins/spell/pluma-spell-language-dialog.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-03-27 03:30:18 +0200
committerPablo Barciela <[email protected]>2018-03-27 03:36:06 +0200
commit15f06cebb1a2d07dfcbd5ef8b5a2f1226cae75e6 (patch)
tree14e24fa1c1fd401f659750263aebfa1f49906d74 /plugins/spell/pluma-spell-language-dialog.c
parent78648afdb7e55f6de81b92bf5b94cce929e00bfc (diff)
downloadpluma-15f06cebb1a2d07dfcbd5ef8b5a2f1226cae75e6.tar.bz2
pluma-15f06cebb1a2d07dfcbd5ef8b5a2f1226cae75e6.tar.xz
avoid 'gtk_dialog_add_buttons' with stock ids
Diffstat (limited to 'plugins/spell/pluma-spell-language-dialog.c')
-rw-r--r--plugins/spell/pluma-spell-language-dialog.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/spell/pluma-spell-language-dialog.c b/plugins/spell/pluma-spell-language-dialog.c
index beaf9572..fda020bd 100644
--- a/plugins/spell/pluma-spell-language-dialog.c
+++ b/plugins/spell/pluma-spell-language-dialog.c
@@ -129,14 +129,9 @@ create_dialog (PlumaSpellLanguageDialog *dlg,
NULL
};
- gtk_dialog_add_buttons (GTK_DIALOG (dlg),
- "gtk-cancel",
- GTK_RESPONSE_CANCEL,
- "gtk-ok",
- GTK_RESPONSE_OK,
- "gtk-help",
- GTK_RESPONSE_HELP,
- NULL);
+ pluma_dialog_add_button (GTK_DIALOG (dlg), _("_Cancel"), "process-stop", GTK_RESPONSE_CANCEL);
+ pluma_dialog_add_button (GTK_DIALOG (dlg), _("_OK"), "gtk-ok", GTK_RESPONSE_OK);
+ pluma_dialog_add_button (GTK_DIALOG (dlg), _("_Help"), "help-browser", GTK_RESPONSE_HELP);
gtk_window_set_title (GTK_WINDOW (dlg), _("Set language"));
gtk_window_set_modal (GTK_WINDOW (dlg), TRUE);