diff options
author | Pablo Barciela <[email protected]> | 2018-03-27 03:30:18 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2018-03-27 03:36:06 +0200 |
commit | 15f06cebb1a2d07dfcbd5ef8b5a2f1226cae75e6 (patch) | |
tree | 14e24fa1c1fd401f659750263aebfa1f49906d74 /plugins/spell | |
parent | 78648afdb7e55f6de81b92bf5b94cce929e00bfc (diff) | |
download | pluma-15f06cebb1a2d07dfcbd5ef8b5a2f1226cae75e6.tar.bz2 pluma-15f06cebb1a2d07dfcbd5ef8b5a2f1226cae75e6.tar.xz |
avoid 'gtk_dialog_add_buttons' with stock ids
Diffstat (limited to 'plugins/spell')
-rw-r--r-- | plugins/spell/pluma-spell-language-dialog.c | 11 |
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); |