summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLucas Rocha <lucasr@gnome.org>2009-08-10 04:17:47 +0100
committerLucas Rocha <lucasr@gnome.org>2009-08-10 04:17:47 +0100
commitc1f2e66288e5fbb5e2b4402139f45cb96735d24a (patch)
treeeeaa9df9ad38248582e9ed2e2c3b1ca2ab219c9c /src
parentBug 552971 - Add a hide-header option to list dialog (diff)
downloadzenity-c1f2e66288e5fbb5e2b4402139f45cb96735d24a.tar.gz
zenity-c1f2e66288e5fbb5e2b4402139f45cb96735d24a.tar.bz2
zenity-c1f2e66288e5fbb5e2b4402139f45cb96735d24a.zip
Bug 572835 – Zenity --question should be yes or no
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 cf0e47d0..fd92289c 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_CANCEL, GTK_RESPONSE_CANCEL);
- ok_button = gtk_dialog_add_button (GTK_DIALOG (dialog), GTK_STOCK_OK, GTK_RESPONSE_OK);
+ 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);
gtk_widget_grab_focus (ok_button);
bgstack15