summaryrefslogtreecommitdiff
path: root/src/entry.c
diff options
context:
space:
mode:
authorSiegfried-Angel Gevatter Pujals <rainct@ubuntu.com>2009-08-08 01:55:22 +0200
committerSiegfried-Angel Gevatter Pujals <rainct@ubuntu.com>2009-08-08 01:56:33 +0200
commit94190df420ee849752f5726979fea65fdb3b313b (patch)
tree97ceaa1070111eab1a95c38d8c9f2690582e29af /src/entry.c
parentBug 561131 – zenity windows don't appear with the focus (diff)
downloadzenity-94190df420ee849752f5726979fea65fdb3b313b.tar.gz
zenity-94190df420ee849752f5726979fea65fdb3b313b.tar.bz2
zenity-94190df420ee849752f5726979fea65fdb3b313b.zip
Bug 567773 – "zenity --entry --text" doesn't interpret line breaks
Diffstat (limited to 'src/entry.c')
-rw-r--r--src/entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entry.c b/src/entry.c
index 9c02095d..43a312d5 100644
--- a/src/entry.c
+++ b/src/entry.c
@@ -77,7 +77,7 @@ zenity_entry (ZenityData *data, ZenityEntryData *entry_data)
text = gtk_builder_get_object (builder, "zenity_entry_text");
if (entry_data->dialog_text)
- gtk_label_set_text_with_mnemonic (GTK_LABEL (text), entry_data->dialog_text);
+ gtk_label_set_text_with_mnemonic (GTK_LABEL (text), g_strcompress (entry_data->dialog_text));
vbox = gtk_builder_get_object (builder, "vbox4");
bgstack15