summaryrefslogtreecommitdiff
path: root/grc/blocks/pad_sink.xml
diff options
context:
space:
mode:
Diffstat (limited to 'grc/blocks/pad_sink.xml')
-rw-r--r--grc/blocks/pad_sink.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/grc/blocks/pad_sink.xml b/grc/blocks/pad_sink.xml
index f89eaa53c..f0e10a339 100644
--- a/grc/blocks/pad_sink.xml
+++ b/grc/blocks/pad_sink.xml
@@ -7,7 +7,9 @@
<block>
<name>Pad Sink</name>
<key>pad_sink</key>
- <make></make>
+ <make>#if str($type) == "message"
+None;self.message_port_register_hier_in($label)
+#end if</make>
<param>
<name>Label</name>
<key>label</key>
@@ -44,6 +46,11 @@
<opt>size:gr.sizeof_char</opt>
</option>
<option>
+ <name>Message</name>
+ <key>message</key>
+ <opt>size:0</opt>
+ </option>
+ <option>
<name>Wildcard</name>
<key></key>
<opt>size:0</opt>