From 68fb5e488ecf7c80622af3d00edab5348e70917c Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sat, 10 Mar 2018 16:42:15 +0100 Subject: avoid gtk_dialog_add_buttons with stock ids --- libcaja-private/caja-open-with-dialog.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'libcaja-private/caja-open-with-dialog.c') 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); -- cgit v1.2.1