From 9f5ef34ac05de070a99fae07eb1a8087ba60a653 Mon Sep 17 00:00:00 2001 From: Sebastian Koslowski <koslowski@kit.edu> Date: Fri, 20 Nov 2015 17:28:17 +0100 Subject: grc-refactor: move grc.base to grc.python.base --- grc/gui/Param.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'grc/gui/Param.py') diff --git a/grc/gui/Param.py b/grc/gui/Param.py index 6884d6530a..ddfbdcbb1a 100644 --- a/grc/gui/Param.py +++ b/grc/gui/Param.py @@ -24,7 +24,9 @@ pygtk.require('2.0') import gtk from . import Colors, Utils, Constants, Dialogs -from . Element import Element +from .Element import Element + +from ..python.Param import Param as _Param class InputParam(gtk.HBox): @@ -378,11 +380,12 @@ Error: #end if""" -class Param(Element): +class Param(Element, _Param): """The graphical parameter.""" - def __init__(self): + def __init__(self, **kwargs): Element.__init__(self) + _Param.__init__(self, **kwargs) def get_input(self, *args, **kwargs): """ -- cgit v1.2.3