summaryrefslogtreecommitdiff
path: root/src/fileselection.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-03-22 04:57:05 +0000
committerJavier Jardón <jjardon@gnome.org>2015-03-22 09:16:16 +0000
commit6fcbb80fd1b5268fbedcdb985ffa873a2e475840 (patch)
treef524152264d2e8ff1d16f1622ddaf160f014ec1c /src/fileselection.c
parentsrc/zenity.ui: Do not use deprecated stock images (diff)
downloadzenity-6fcbb80fd1b5268fbedcdb985ffa873a2e475840.tar.gz
zenity-6fcbb80fd1b5268fbedcdb985ffa873a2e475840.tar.bz2
zenity-6fcbb80fd1b5268fbedcdb985ffa873a2e475840.zip
Do not use an icon for Cancel/OK buttons
GTK+ documentation recommends to not use an icons, but use "_OK"/"_Cancel" labels instead
Diffstat (limited to 'src/fileselection.c')
-rw-r--r--src/fileselection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileselection.c b/src/fileselection.c
index 9edbb6ae..30495558 100644
--- a/src/fileselection.c
+++ b/src/fileselection.c
@@ -52,8 +52,8 @@ void zenity_fileselection (ZenityData *data, ZenityFileData *file_data)
dialog = gtk_file_chooser_dialog_new (NULL, NULL,
action,
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_OK, GTK_RESPONSE_OK,
+ _("_Cancel"), GTK_RESPONSE_CANCEL,
+ _("_OK"), GTK_RESPONSE_OK,
NULL);
gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (dialog),
bgstack15