From 191ebced874dfb6321832f6e8621f0939ff030a5 Mon Sep 17 00:00:00 2001 From: Glynn Foster Date: Wed, 12 Nov 2003 01:03:20 +0000 Subject: =?UTF-8?q?Make=20sure=20the=20gdialog=20wrapper=20handles=20space?= =?UTF-8?q?s.=20Patch=20from=20Peter=20=C5strand?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2003-11-12 Glynn Foster * src/gdialog.in: Make sure the gdialog wrapper handles spaces. Patch from Peter Åstrand --- ChangeLog | 6 ++++++ src/gdialog.in | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 252b5bd..bf41fa7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-11-12 Glynn Foster + + * src/gdialog.in: Make sure the gdialog wrapper + handles spaces. Patch from Peter Åstrand + + 2003-10-29 Glynn Foster * src/zenity.glade: Unmark translation messages, diff --git a/src/gdialog.in b/src/gdialog.in index ff47010..b204532 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; -- cgit v1.1-4-g5e80