Switched the python classes to inherit from the base and gui classes.
[debian/gnuradio] / grc / gui / Block.py
index 4add3aa195f9db8d34cd46c09104fd7bf78d2467..0f3e511d82e7879594bc098b293cb283fe1a907d 100644 (file)
@@ -44,8 +44,8 @@ class Block(Element):
                """
                #add the position param
                self.get_params().append(self.get_parent().get_parent().Param(
-                       self,
-                       odict({
+                       block=self,
+                       n=odict({
                                'name': 'GUI Coordinate',
                                'key': '_coordinate',
                                'type': 'raw',
@@ -54,8 +54,8 @@ class Block(Element):
                        })
                ))
                self.get_params().append(self.get_parent().get_parent().Param(
-                       self,
-                       odict({
+                       block=self,
+                       n=odict({
                                'name': 'GUI Rotation',
                                'key': '_rotation',
                                'type': 'raw',