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 /pluma/pluma-commands-file.c | |
parent | 78648afdb7e55f6de81b92bf5b94cce929e00bfc (diff) | |
download | pluma-15f06cebb1a2d07dfcbd5ef8b5a2f1226cae75e6.tar.bz2 pluma-15f06cebb1a2d07dfcbd5ef8b5a2f1226cae75e6.tar.xz |
avoid 'gtk_dialog_add_buttons' with stock ids
Diffstat (limited to 'pluma/pluma-commands-file.c')
-rw-r--r-- | pluma/pluma-commands-file.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/pluma/pluma-commands-file.c b/pluma/pluma-commands-file.c index eed10f51..2b8b5613 100644 --- a/pluma/pluma-commands-file.c +++ b/pluma/pluma-commands-file.c @@ -579,9 +579,10 @@ replace_read_only_file (GtkWindow *parent, GFile *file) _("Do you want to try to replace it " "with the one you are saving?")); - gtk_dialog_add_button (GTK_DIALOG (dialog), - "gtk-cancel", - GTK_RESPONSE_CANCEL); + pluma_dialog_add_button (GTK_DIALOG (dialog), + _("_Cancel"), + "process-stop", + GTK_RESPONSE_CANCEL); pluma_dialog_add_button (GTK_DIALOG (dialog), _("_Replace"), @@ -1218,9 +1219,10 @@ revert_dialog (PlumaWindow *window, gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE); - gtk_dialog_add_button (GTK_DIALOG (dialog), - "gtk-cancel", - GTK_RESPONSE_CANCEL); + pluma_dialog_add_button (GTK_DIALOG (dialog), + _("_Cancel"), + "process-stop", + GTK_RESPONSE_CANCEL); pluma_dialog_add_button (GTK_DIALOG (dialog), _("_Revert"), |