docs: fix the display of message dialog
This commit is contained in:
committed by
Matthias Clasen
parent
d88c074197
commit
686de28701
@ -847,8 +847,8 @@ create_message_dialog (void)
|
|||||||
GTK_BUTTONS_OK,
|
GTK_BUTTONS_OK,
|
||||||
NULL);
|
NULL);
|
||||||
gtk_window_set_icon_name (GTK_WINDOW (widget), "edit-copy");
|
gtk_window_set_icon_name (GTK_WINDOW (widget), "edit-copy");
|
||||||
gtk_message_dialog_set_markup (GTK_MESSAGE_DIALOG (widget),
|
gtk_message_dialog_set_markup (GTK_MESSAGE_DIALOG (widget), "Message Dialog");
|
||||||
"<b>Message Dialog</b>\n\nWith secondary text");
|
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (widget), "%s", "With secondary text");
|
||||||
return new_widget_info ("messagedialog", widget, ASIS);
|
return new_widget_info ("messagedialog", widget, ASIS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user