From 94190df420ee849752f5726979fea65fdb3b313b Mon Sep 17 00:00:00 2001 From: Siegfried-Angel Gevatter Pujals Date: Sat, 8 Aug 2009 01:55:22 +0200 Subject: Bug 567773 – "zenity --entry --text" doesn't interpret line breaks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/entry.c') 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"); -- cgit