[zenity] Bug 567773 – "zenity --entry --text" doesn't interpret line breaks



commit 94190df420ee849752f5726979fea65fdb3b313b
Author: Siegfried-Angel Gevatter Pujals <rainct ubuntu com>
Date:   Sat Aug 8 01:55:22 2009 +0200

    Bug 567773 â?? "zenity --entry --text" doesn't interpret line breaks

 src/entry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/entry.c b/src/entry.c
index 9c02095..43a312d 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");
   



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]