Remove old parent parameter in progressbar
This commit is contained in:
1 parent
97e3281959
commit
fa82386d8e
1 file changed
+1
-1
@@ -16,7 +16,7 @@ class ProgressBar(WidgetInterface):
|
||||
|
||||
def __init__(self, field_name, model_name, window, attrs=None):
|
||||
super(ProgressBar, self).__init__(field_name, model_name, window,
|
||||
parent, attrs=attrs)
|
||||
attrs=attrs)
|
||||
self.widget = gtk.ProgressBar()
|
||||
orientation = self.orientations.get(attrs.get('orientation',
|
||||
'left_to_right'), gtk.PROGRESS_LEFT_TO_RIGHT)
|
||||
|
||||
Reference in new issue
Block a user