diff options
author | Johnathan Corgan | 2009-08-15 10:48:39 -0700 |
---|---|---|
committer | Johnathan Corgan | 2009-08-15 10:48:39 -0700 |
commit | 4edaf1e7fc05df0628c05785d5ede285a64670b0 (patch) | |
tree | 93497b08306b3df6a9a36c4c5adb63c61b5d4f3e /grc/gui | |
parent | a33d7c0df9dab57767c6b9376e6779a23217c1b9 (diff) | |
parent | 8e1a2c4ac1a43fd989c06856dae27b0c2559c6b3 (diff) | |
download | gnuradio-4edaf1e7fc05df0628c05785d5ede285a64670b0.tar.gz gnuradio-4edaf1e7fc05df0628c05785d5ede285a64670b0.tar.bz2 gnuradio-4edaf1e7fc05df0628c05785d5ede285a64670b0.zip |
Merged branch 'msgq' from http://gnuradio.org/git/jblum.git
This adds the ability to GRC to gave blocks with message ports.
Signed-off-by: Johnathan Corgan <jcorgan@corganenterprises.com>
Diffstat (limited to 'grc/gui')
-rw-r--r-- | grc/gui/Block.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/grc/gui/Block.py b/grc/gui/Block.py index 0496f0a28..4add3aa19 100644 --- a/grc/gui/Block.py +++ b/grc/gui/Block.py @@ -43,7 +43,7 @@ class Block(Element): Add graphics related params to the block. """ #add the position param - self._params['_coordinate'] = self.get_parent().get_parent().Param( + self.get_params().append(self.get_parent().get_parent().Param( self, odict({ 'name': 'GUI Coordinate', @@ -52,8 +52,8 @@ class Block(Element): 'value': '(0, 0)', 'hide': 'all', }) - ) - self._params['_rotation'] = self.get_parent().get_parent().Param( + )) + self.get_params().append(self.get_parent().get_parent().Param( self, odict({ 'name': 'GUI Rotation', @@ -62,7 +62,7 @@ class Block(Element): 'value': '0', 'hide': 'all', }) - ) + )) Element.__init__(self) def get_coordinate(self): |