Make sure the gdialog wrapper handles spaces. Patch from Peter strand
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>
This commit is contained in:
parent
ea8be2ccef
commit
191ebced87
@ -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>
|
2003-10-29 Glynn Foster <glynn.foster@sun.com>
|
||||||
|
|
||||||
* src/zenity.glade: Unmark translation messages,
|
* src/zenity.glade: Unmark translation messages,
|
||||||
|
@ -227,7 +227,7 @@ ARG: while ($argn < $args) {
|
|||||||
# an untitled column for the check or radio buttons
|
# an untitled column for the check or radio buttons
|
||||||
# and the 'text' arg as a second column header
|
# 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?
|
# should output be line by line?
|
||||||
if ($separator) {
|
if ($separator) {
|
||||||
@ -248,7 +248,7 @@ ARG: while ($argn < $args) {
|
|||||||
|
|
||||||
while ($argn < $args) {
|
while ($argn < $args) {
|
||||||
get_arg;
|
get_arg;
|
||||||
$command .= "NULL $element ";
|
$command .= "NULL \"$element\" ";
|
||||||
$argn += 3;
|
$argn += 3;
|
||||||
}
|
}
|
||||||
last ARG;
|
last ARG;
|
||||||
|
Reference in New Issue
Block a user