diff options
author | Simon Schampijer <simon@laptop.org> | 2012-09-03 16:25:26 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@laptop.org> | 2012-09-07 09:14:25 (GMT) |
commit | 58c184d2d1ea26ecf6cf80dd4fc03a8e0a345222 (patch) | |
tree | c1b18cb208645f097a6b7b8a75be9b49ac173896 /src/jarabe/journal/expandedentry.py | |
parent | 0f7952c4e587c2ff4dfdd2c2e06cfce6202ce83f (diff) |
All: Chain up to constructor of derived class
The pygi-convert.sh script does replace the chaining to the
constructor of the derived class and chains up to the GObject
constructor, those introduced missing imports and a few more
issues with arguments passing.
In general it is clearer to chain up to the constructor of
the derived class so while fixing the issues introduced by the
script we did switch to that behavior in all of the shell.
Signed-off-by: Simon Schampijer <simon@laptop.org>
Acked-by: Manuel QuiƱones <manuq@laptop.org>
Diffstat (limited to 'src/jarabe/journal/expandedentry.py')
-rw-r--r-- | src/jarabe/journal/expandedentry.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jarabe/journal/expandedentry.py b/src/jarabe/journal/expandedentry.py index 12d3989..f3eb1a1 100644 --- a/src/jarabe/journal/expandedentry.py +++ b/src/jarabe/journal/expandedentry.py @@ -40,13 +40,13 @@ from jarabe.journal import model class Separator(Gtk.VBox): def __init__(self, orientation): - GObject.GObject.__init__(self, + Gtk.VBox.__init__(self, background_color=style.COLOR_PANEL_GREY.get_gdk_color()) class BuddyList(Gtk.Alignment): def __init__(self, buddies): - GObject.GObject.__init__(self, 0, 0, 0, 0) + Gtk.Alignment.__init__(self, 0, 0, 0, 0) hbox = Gtk.HBox() for buddy in buddies: @@ -61,7 +61,7 @@ class BuddyList(Gtk.Alignment): class ExpandedEntry(Gtk.EventBox): def __init__(self): - GObject.GObject.__init__(self) + Gtk.EventBox.__init__(self) self._vbox = Gtk.VBox() self.add(self._vbox) |