From 6a17938c959a4418d2c42ef903fa40916defae2f Mon Sep 17 00:00:00 2001 From: Glynn Foster Date: Sun, 18 Jul 2004 23:40:20 +0000 Subject: [PATCH] Make sure the text can take markup, so that people can create nice HIG 2004-07-19 Glynn Foster * 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. --- ChangeLog | 6 ++++++ src/msg.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3c3dc08..d72c399 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-07-19 Glynn Foster + + * 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 * configure.in, src/Makefile.am: Fix up compilation diff --git a/src/msg.c b/src/msg.c index 7ce78c5..013fc72 100644 --- a/src/msg.c +++ b/src/msg.c @@ -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 ();