Make sure the text can take markup, so that people can create nice HIG

2004-07-19  Glynn Foster  <glynn.foster@sun.com>

	* src/msg.c: Make sure the text can take markup, so
	that people can create nice HIG compliant message
	dialogs. Patch from Sebastian Heinlein. Fixes #140748.
This commit is contained in:
Glynn Foster 2004-07-18 23:40:20 +00:00 committed by Glynn Foster
parent e6290c86ff
commit 6a17938c95
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-07-19 Glynn Foster <glynn.foster@sun.com>
* src/msg.c: Make sure the text can take markup, so
that people can create nice HIG compliant message
dialogs. Patch from Sebastian Heinlein. Fixes #140748.
2004-07-19 Glynn Foster <glynn.foster@sun.com>
* configure.in, src/Makefile.am: Fix up compilation

View File

@ -112,7 +112,7 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data)
gtk_window_set_default_size (GTK_WINDOW (dialog), data->width, data->height);
if (msg_data->dialog_text)
gtk_label_set_text (GTK_LABEL (text), msg_data->dialog_text);
gtk_label_set_markup (GTK_LABEL (text), msg_data->dialog_text);
zenity_util_show_dialog (dialog);
gtk_main ();