From 02a14678e889b09d41eaf903962733c47791c9cb Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 25 Sep 2009 00:24:48 -0700 Subject: Added a run options to the "no gui" generate options. The user can select between run to completion and prompt for exit. Also fixed the props dialog is changed function to have better hashes. Now we hash a tuple of all "relevant" items which is "order aware". Since xoring the individual hashes proved faulty when 2 params alternated hiding. (cherry picked from commit fd37328c778ea8014e9ea9d932e61e5d229dd012) --- grc/blocks/options.xml | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) (limited to 'grc/blocks') diff --git a/grc/blocks/options.xml b/grc/blocks/options.xml index 1798a69f8..4d0dd2899 100644 --- a/grc/blocks/options.xml +++ b/grc/blocks/options.xml @@ -77,20 +77,37 @@ else: self.stop(); self.wait() string #if $generate_options() == 'hb' then 'none' else 'all'# + + Run Options + run_options + prompt + enum + #if $generate_options() == 'no_gui' then 'none' else 'all'# + + + Run run True bool - #if $generate_options() == 'wx_gui' - #if str($run) == 'True' -part#slurp + +#if $generate_options() == 'wx_gui' + #if $run() + part #else -none#slurp + none #end if #else -all#slurp -#end if + all +#end if +