summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rwxr-xr-xsrc/gdialog.in4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 252b5bd8..bf41fa75 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-11-12 Glynn Foster <glynn.foster@sun.com>
+
+ * src/gdialog.in: Make sure the gdialog wrapper
+ handles spaces. Patch from Peter Åstrand
+ <astrand@lysator.liu.se>
+
2003-10-29 Glynn Foster <glynn.foster@sun.com>
* src/zenity.glade: Unmark translation messages,
diff --git a/src/gdialog.in b/src/gdialog.in
index ff47010d..b2045326 100755
--- a/src/gdialog.in
+++ b/src/gdialog.in
@@ -227,7 +227,7 @@ ARG: while ($argn < $args) {
# an untitled column for the check or radio buttons
# and the 'text' arg as a second column header
- $command .= "--list $list --column='' --column $element ";
+ $command .= "--list $list --column='' --column \"$element\" ";
# should output be line by line?
if ($separator) {
@@ -248,7 +248,7 @@ ARG: while ($argn < $args) {
while ($argn < $args) {
get_arg;
- $command .= "NULL $element ";
+ $command .= "NULL \"$element\" ";
$argn += 3;
}
last ARG;
bgstack15