diff options
author | Javier Jardón <jjardon@gnome.org> | 2015-03-22 05:17:25 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2015-03-22 09:16:16 +0000 |
commit | 1a43253ac568bc8ff293746477361a33a4469f88 (patch) | |
tree | 5884f1dd242e6b0b991336650c50a06002c20cbc | |
parent | Do not use stock dialog (diff) | |
download | zenity-1a43253ac568bc8ff293746477361a33a4469f88.tar.gz zenity-1a43253ac568bc8ff293746477361a33a4469f88.tar.bz2 zenity-1a43253ac568bc8ff293746477361a33a4469f88.zip |
Do not use a stock answer for yes/no buttons
-rw-r--r-- | src/msg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -33,8 +33,8 @@ zenity_msg_construct_question_dialog (GtkWidget *dialog, ZenityMsgData *msg_data { GtkWidget *cancel_button, *ok_button; - cancel_button = gtk_dialog_add_button (GTK_DIALOG (dialog), GTK_STOCK_NO, GTK_RESPONSE_CANCEL); - ok_button = gtk_dialog_add_button (GTK_DIALOG (dialog), GTK_STOCK_YES, GTK_RESPONSE_OK); + cancel_button = gtk_dialog_add_button (GTK_DIALOG (dialog), _("_No"), GTK_RESPONSE_CANCEL); + ok_button = gtk_dialog_add_button (GTK_DIALOG (dialog), _("_Yes"), GTK_RESPONSE_OK); gtk_widget_grab_focus (msg_data->default_cancel ? cancel_button : ok_button); |