summaryrefslogtreecommitdiff
path: root/grc/blocks
diff options
context:
space:
mode:
authorMatt Ettus2009-10-06 00:33:39 -0700
committerMatt Ettus2009-10-06 00:33:39 -0700
commit3f8026a00c261c788357b3a04f5b338a6cda4d0e (patch)
treeda08ade9266b2205c79967601f201e22da6cbe9b /grc/blocks
parent61926130bef20051001f97abfae4c16ffc7963f6 (diff)
parentc6b4290d73069e4e4f0f71b04a65b9670318e86d (diff)
downloadgnuradio-3f8026a00c261c788357b3a04f5b338a6cda4d0e.tar.gz
gnuradio-3f8026a00c261c788357b3a04f5b338a6cda4d0e.tar.bz2
gnuradio-3f8026a00c261c788357b3a04f5b338a6cda4d0e.zip
Merge branch 'master' of http://gnuradio.org/git/gnuradio
Diffstat (limited to 'grc/blocks')
-rw-r--r--grc/blocks/options.xml29
1 files changed, 23 insertions, 6 deletions
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
@@ -78,19 +78,36 @@ else: self.stop(); self.wait()</callback>
<hide>#if $generate_options() == 'hb' then 'none' else 'all'#</hide>
</param>
<param>
+ <name>Run Options</name>
+ <key>run_options</key>
+ <value>prompt</value>
+ <type>enum</type>
+ <hide>#if $generate_options() == 'no_gui' then 'none' else 'all'#</hide>
+ <option>
+ <name>Run to Completion</name>
+ <key>run</key>
+ </option>
+ <option>
+ <name>Prompt for Exit</name>
+ <key>prompt</key>
+ </option>
+ </param>
+ <param>
<name>Run</name>
<key>run</key>
<value>True</value>
<type>bool</type>
- <hide>#if $generate_options() == 'wx_gui'
- #if str($run) == 'True'
-part#slurp
+ <hide>
+#if $generate_options() == 'wx_gui'
+ #if $run()
+ part
#else
-none#slurp
+ none
#end if
#else
-all#slurp
-#end if</hide>
+ all
+#end if
+ </hide>
<option>
<name>Autostart</name>
<key>True</key>