diff options
author | Pablo Barciela <[email protected]> | 2018-03-10 16:42:15 +0100 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2018-03-12 16:08:00 +0100 |
commit | 68fb5e488ecf7c80622af3d00edab5348e70917c (patch) | |
tree | 526819d06776e9a9482c9e1970d5e55a45b7b13d /libcaja-private/caja-open-with-dialog.c | |
parent | dfb65855af84deba23e9ec9616fba77edfbf57e1 (diff) | |
download | caja-68fb5e488ecf7c80622af3d00edab5348e70917c.tar.bz2 caja-68fb5e488ecf7c80622af3d00edab5348e70917c.tar.xz |
avoid gtk_dialog_add_buttons with stock ids
Diffstat (limited to 'libcaja-private/caja-open-with-dialog.c')
-rw-r--r-- | libcaja-private/caja-open-with-dialog.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libcaja-private/caja-open-with-dialog.c b/libcaja-private/caja-open-with-dialog.c index 8e45f6f5..210b2b7b 100644 --- a/libcaja-private/caja-open-with-dialog.c +++ b/libcaja-private/caja-open-with-dialog.c @@ -931,15 +931,18 @@ caja_open_with_dialog_init (CajaOpenWithDialog *dialog) gtk_widget_show (GTK_WIDGET (dialog->details->checkbox)); gtk_box_pack_start (GTK_BOX (vbox), dialog->details->checkbox, FALSE, FALSE, 0); - gtk_dialog_add_button (GTK_DIALOG (dialog), - "gtk-remove", + eel_dialog_add_button (GTK_DIALOG (dialog), + _("_Remove"), + "list-remove", RESPONSE_REMOVE); + gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog), RESPONSE_REMOVE, FALSE); - gtk_dialog_add_button (GTK_DIALOG (dialog), - "gtk-cancel", + eel_dialog_add_button (GTK_DIALOG (dialog), + _("_Cancel"), + "process-stop", GTK_RESPONSE_CANCEL); |