[gtk+/dialogs: 11/25] demo: Add two buttons to the message dialog
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/dialogs: 11/25] demo: Add two buttons to the message dialog
- Date: Wed, 15 Jan 2014 12:33:16 +0000 (UTC)
commit 2ae5ecf705e964e65e303853b4b88629d05887cb
Author: William Jon McCann <william jon mccann gmail com>
Date: Sat Jan 11 21:59:45 2014 -0500
demo: Add two buttons to the message dialog
This tests the new. prompt-like layout of message dialogs
better.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
demos/gtk-demo/dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/demos/gtk-demo/dialog.c b/demos/gtk-demo/dialog.c
index 17f837e..209fd6d 100644
--- a/demos/gtk-demo/dialog.c
+++ b/demos/gtk-demo/dialog.c
@@ -20,7 +20,7 @@ message_dialog_clicked (GtkButton *button,
dialog = gtk_message_dialog_new (GTK_WINDOW (window),
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_INFO,
- GTK_BUTTONS_OK,
+ GTK_BUTTONS_OK_CANCEL,
"This message box has been popped up the following\n"
"number of times:");
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]