[gnome-music/wip/merge: 98/343] widgets: correctly call super



commit 6b7c7c857180efda3d29ac6d867e1c0fed0bc5fc
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Mon Jul 15 16:04:53 2013 +0200

    widgets: correctly call super

 gnomemusic/widgets.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index d48af1f..e53d747 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -56,6 +56,7 @@ class LoadMoreButton:
 
 class AlbumWidget(Gtk.EventBox):
     def __init__(self, player):
+        super()
         self.player = player
         self.hbox = Gtk.HBox()
         self.iterToClean = None
@@ -83,8 +84,6 @@ class AlbumWidget(Gtk.EventBox):
         self.album = None
         self.view.connect('item-activated', self._onItemActivated)
 
-        self.super()
-
         view_box = self.ui.get_object("view")
         child_view = self.view.get_children()[0]
         child_view.set_margin_top(64)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]