summaryrefslogtreecommitdiff
path: root/src/msg.c
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2005-04-20 01:59:42 +0000
committerGlynn Foster <gman@src.gnome.org>2005-04-20 01:59:42 +0000
commit6e6eeaf79c01b6cc755b57dac7e7ff2d36038316 (patch)
tree9e1918f75413ac47ca184829fcb182c2923c7a3e /src/msg.c
parent77bd857bfecbab6e65fc3f3d7f31ca7d01a89822 (diff)
downloadzenity-6e6eeaf79c01b6cc755b57dac7e7ff2d36038316.tar.gz
Bug fix for #149290, based on contributions from Timo Aaltonen, Lucas
2005-04-20 Glynn Foster <glynn.foster@sun.com> * src/msg.c, src/option.c, src/zenity.h: Bug fix for #149290, based on contributions from Timo Aaltonen, Lucas Rocha, and Carlos Parra. * THANKS: Update.
Diffstat (limited to 'src/msg.c')
-rw-r--r--src/msg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/msg.c b/src/msg.c
index ffb2e53..2449c00 100644
--- a/src/msg.c
+++ b/src/msg.c
@@ -110,6 +110,9 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data)
if (msg_data->dialog_text)
gtk_label_set_markup (GTK_LABEL (text), msg_data->dialog_text);
+ if (msg_data->no_wrap)
+ gtk_label_set_line_wrap (GTK_LABEL (text), FALSE);
+
zenity_util_show_dialog (dialog);
gtk_main ();
}