Switched the python classes to inherit from the base and gui classes.
[debian/gnuradio] / grc / python / Connection.py
index 85b5b2c525ea3ca5d8758c37d678fd2c03e4058b..edc18841a00b7844d6c203bf6af1ca19263115d4 100644 (file)
@@ -18,8 +18,13 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
 
 from .. base.Connection import Connection as _Connection
+from .. gui.Connection import Connection as _GUIConnection
 
-class Connection(_Connection):
+class Connection(_Connection, _GUIConnection):
+
+       def __init__(self, **kwargs):
+               _Connection.__init__(self, **kwargs)
+               _GUIConnection.__init__(self)
 
        def is_msg(self):
                return self.get_source().get_type() == self.get_sink().get_type() == 'msg'