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:
parent
e6290c86ff
commit
6a17938c95
@ -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>
|
2004-07-19 Glynn Foster <glynn.foster@sun.com>
|
||||||
|
|
||||||
* configure.in, src/Makefile.am: Fix up compilation
|
* configure.in, src/Makefile.am: Fix up compilation
|
||||||
|
@ -112,7 +112,7 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data)
|
|||||||
gtk_window_set_default_size (GTK_WINDOW (dialog), data->width, data->height);
|
gtk_window_set_default_size (GTK_WINDOW (dialog), data->width, data->height);
|
||||||
|
|
||||||
if (msg_data->dialog_text)
|
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);
|
zenity_util_show_dialog (dialog);
|
||||||
gtk_main ();
|
gtk_main ();
|
||||||
|
Reference in New Issue
Block a user