summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-03-22 05:17:25 +0000
committerJavier Jardón <jjardon@gnome.org>2015-03-22 09:16:16 +0000
commit1a43253ac568bc8ff293746477361a33a4469f88 (patch)
tree5884f1dd242e6b0b991336650c50a06002c20cbc /src
parentDo not use stock dialog (diff)
downloadzenity-1a43253ac568bc8ff293746477361a33a4469f88.tar.gz
zenity-1a43253ac568bc8ff293746477361a33a4469f88.tar.bz2
zenity-1a43253ac568bc8ff293746477361a33a4469f88.zip
Do not use a stock answer for yes/no buttons
Diffstat (limited to 'src')
-rw-r--r--src/msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/msg.c b/src/msg.c
index ce25ab3a..73c48981 100644
--- a/src/msg.c
+++ b/src/msg.c
@@ -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);
bgstack15