From 25d20adbd11319e7224ada5970c1a1b1ba6557df Mon Sep 17 00:00:00 2001 From: Mike Newman Date: Sat, 24 May 2003 09:15:50 +0000 Subject: Fix typo in gdialog wrapper. Sensitize OK button in progress when 100% reached. --- src/gdialog | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gdialog') diff --git a/src/gdialog b/src/gdialog index 649d3f3..20322c7 100644 --- a/src/gdialog +++ b/src/gdialog @@ -33,8 +33,8 @@ ARG: while ($argn < $args) { get_arg; - # Section 1 : Args which gdialog expects BEFORE box options - # --clear, --backtitle have no obvious effect - ignored +# Section 1 : Args which gdialog expects BEFORE box options +# --clear, --backtitle have no obvious effect - ignored if ($element eq "--title") { @@ -60,7 +60,7 @@ ARG: while ($argn < $args) { next ARG; } - # Section 2 : Box Options and subsequent args +# Section 2 : Box Options and subsequent args if ($element eq "--msgbox" || $element eq "--infobox") { @@ -144,8 +144,8 @@ ARG: while ($argn < $args) { # Loop over the remainder of the commandline # discarding the 'status' and 'tag' args of each item # and using the 'item' for display in our second column - # also pass a NULL argument since zenity can't set the status - # of a row like gdialog can + # also pass a fake NULL argument since zenity can't set + # the status of a row like gdialog can while ($argn < $args) { get_arg; @@ -162,7 +162,7 @@ ARG: while ($argn < $args) { # a gdialog --menu is just a one column zenity --list # Use the 'text' arg as a second column header - # FIXME: or should it be the dialog text? + # FIXME: or should it be the dialog text, or both? $command .= "--list --column $element "; -- cgit v1.2.3-54-g00ecf