From: Josh Blum Date: Fri, 25 Sep 2009 07:24:48 +0000 (-0700) Subject: Added a run options to the "no gui" generate options. X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=02a14678e889b09d41eaf903962733c47791c9cb;p=debian%2Fgnuradio 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) --- diff --git a/grc/blocks/options.xml b/grc/blocks/options.xml index 1798a69f..4d0dd289 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 +