[gnome-music/wip/merge: 159/343] widgets: use correct method to init



commit 24be2faa1e6d4edce3125337dea45725a4672a74
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Tue Jul 16 17:09:25 2013 +0200

    widgets: use correct method to init

 gnomemusic/widgets.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index ddb56f2..d665949 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -60,7 +60,7 @@ class AlbumWidget(Gtk.EventBox):
     duration = 0
 
     def __init__(self, player):
-        super(Gtk.EventBox, self).__init()
+        super(Gtk.EventBox, self).__init__()
         self.player = player
         self.hbox = Gtk.HBox()
         self.iterToClean = None
@@ -293,7 +293,7 @@ class AlbumWidget(Gtk.EventBox):
 
 class ArtistAlbums(Gtk.VBox):
     def __init__(self, artist, albums, player):
-        super(Gtk.VBox, self).__init()
+        super(Gtk.VBox, self).__init__()
         self.player = player
         self.artist = artist
         self.albums = albums
@@ -354,7 +354,7 @@ class ArtistAlbums(Gtk.VBox):
 class AllArtistsAlbums(ArtistAlbums):
 
     def __init__(self, player):
-        super(ArtistAlbums, "All Artists", [], player).__init()
+        super(ArtistAlbums, "All Artists", [], player).__init__()
         self._offset = 0
         self.countQuery = Query.album_count
         self._loadMore = LoadMoreButton(self, self._getRemainingItemCount)
@@ -415,7 +415,7 @@ class AllArtistsAlbums(ArtistAlbums):
 class ArtistAlbumWidget(Gtk.HBox):
 
     def __init__(self, artist, album, player, model):
-        super(Gtk.HBox, self).__init()
+        super(Gtk.HBox, self).__init__()
         self.player = player
         self.album = album
         self.artist = artist


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