summaryrefslogtreecommitdiff
path: root/src/password.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/password.c
parentd26aa23e1dbc38be7709782d36df487ac59d0541 (diff)
downloadzenity-6fcbb80fd1b5268fbedcdb985ffa873a2e475840.tar.gz
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/password.c')
-rw-r--r--src/password.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/password.c b/src/password.c
index ff254fd..6d85390 100644
--- a/src/password.c
+++ b/src/password.c
@@ -45,10 +45,10 @@ void zenity_password_dialog (ZenityData *data, ZenityPasswordData *password_data
dialog = gtk_dialog_new ();
gtk_dialog_add_button(GTK_DIALOG(dialog),
- data->cancel_label != NULL ? data->cancel_label : GTK_STOCK_CANCEL,
+ data->cancel_label != NULL ? data->cancel_label : _("_Cancel"),
GTK_RESPONSE_CANCEL);
gtk_dialog_add_button(GTK_DIALOG(dialog),
- data->ok_label != NULL ? data->ok_label : GTK_STOCK_OK,
+ data->ok_label != NULL ? data->ok_label : _("_OK"),
GTK_RESPONSE_OK);
image = gtk_image_new_from_stock(GTK_STOCK_DIALOG_AUTHENTICATION,