summaryrefslogtreecommitdiff
path: root/src/msg.c
diff options
context:
space:
mode:
authorLucas Rocha <lucasr@cvs.gnome.org>2005-11-14 04:25:58 +0000
committerLucas Almeida Rocha <lucasr@src.gnome.org>2005-11-14 04:25:58 +0000
commitc8b9b79813c426837092ccda149bb3f2ca9c58be (patch)
tree3057177801e8e9cdb5102d1fc7ea043ef9561556 /src/msg.c
parentc9e23b5e475e5f9a2d09e353372554565ca9cabf (diff)
make it possible to add new lines in the in the msg dialog (Fixes bug
2005-11-13 Lucas Rocha <lucasr@cvs.gnome.org> * src/msg.c: make it possible to add new lines in the in the msg dialog (Fixes bug #320787).
Diffstat (limited to 'src/msg.c')
-rw-r--r--src/msg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/msg.c b/src/msg.c
index b400f0b..973062e 100644
--- a/src/msg.c
+++ b/src/msg.c
@@ -109,9 +109,9 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data)
if (data->width > -1 || data->height > -1)
gtk_window_set_default_size (GTK_WINDOW (dialog), data->width, data->height);
- if (msg_data->dialog_text)
- gtk_label_set_markup (GTK_LABEL (text), msg_data->dialog_text);
-
+ if (msg_data->dialog_text)
+ gtk_label_set_markup (GTK_LABEL (text), g_strcompress (msg_data->dialog_text));
+
if (msg_data->no_wrap)
gtk_label_set_line_wrap (GTK_LABEL (text), FALSE);