diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-11 21:59:45 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-01-17 17:52:07 -0500 |
commit | e2c87f9dcd0944cf2c2c5b877e82d0fbe809f6de (patch) | |
tree | 3a0ad5629e505a6117375078ed1daea0afab6b2d /demos | |
parent | f69de3c14a0314c5e6993dfc6de9bb5869e0f8e9 (diff) | |
download | gtk+-e2c87f9dcd0944cf2c2c5b877e82d0fbe809f6de.tar.gz |
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
Diffstat (limited to 'demos')
-rw-r--r-- | 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 17f837e8f8..209fd6da3d 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), |