mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
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
This commit is contained in:
parent
f69de3c14a
commit
e2c87f9dcd
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user