summaryrefslogtreecommitdiff
path: root/src/caja-location-dialog.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-03-10 16:42:15 +0100
committerPablo Barciela <[email protected]>2018-03-12 16:08:00 +0100
commit68fb5e488ecf7c80622af3d00edab5348e70917c (patch)
tree526819d06776e9a9482c9e1970d5e55a45b7b13d /src/caja-location-dialog.c
parentdfb65855af84deba23e9ec9616fba77edfbf57e1 (diff)
downloadcaja-68fb5e488ecf7c80622af3d00edab5348e70917c.tar.bz2
caja-68fb5e488ecf7c80622af3d00edab5348e70917c.tar.xz
avoid gtk_dialog_add_buttons with stock ids
Diffstat (limited to 'src/caja-location-dialog.c')
-rw-r--r--src/caja-location-dialog.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/caja-location-dialog.c b/src/caja-location-dialog.c
index f5354eb9..e207a1ef 100644
--- a/src/caja-location-dialog.c
+++ b/src/caja-location-dialog.c
@@ -185,15 +185,21 @@ caja_location_dialog_init (CajaLocationDialog *dialog)
gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))),
box, FALSE, TRUE, 0);
- gtk_dialog_add_button (GTK_DIALOG (dialog),
- "gtk-help",
+ eel_dialog_add_button (GTK_DIALOG (dialog),
+ _("_Help"),
+ "help-browser",
GTK_RESPONSE_HELP);
- gtk_dialog_add_button (GTK_DIALOG (dialog),
- "gtk-cancel",
+
+ eel_dialog_add_button (GTK_DIALOG (dialog),
+ _("_Cancel"),
+ "process-stop",
GTK_RESPONSE_CANCEL);
- gtk_dialog_add_button (GTK_DIALOG (dialog),
- "gtk-open",
+
+ eel_dialog_add_button (GTK_DIALOG (dialog),
+ _("_Open"),
+ "document-open",
RESPONSE_OPEN);
+
gtk_dialog_set_default_response (GTK_DIALOG (dialog),
RESPONSE_OPEN);