Ejemplo n.º 1
0
 def __init__(self, album_id, genre_id, popover, size_group):
     """
         Init detailed album widget
         @param album id as int
         @param genre id as int
         @param size group as Gtk.SizeGroup
     """
     AlbumDetailedWidget.__init__(self, album_id, genre_id, [], popover, size_group)
     self._artist_label.set_text(self._album.artist_name)
     self._artist_label.show()
Ejemplo n.º 2
0
 def __init__(self, album_id, genre_id, popover, size_group):
     """
         Init detailed album widget
         @param album id as int
         @param genre id as int
         @param size group as Gtk.SizeGroup
     """
     AlbumDetailedWidget.__init__(self, album_id, genre_id, [], popover,
                                  size_group)
     self._artist_label.set_text(self._album.artist_name)
     self._artist_label.show()
Ejemplo n.º 3
0
 def __init__(self, album_id, genre_ids, artist_ids, show_cover):
     """
         Init detailed album widget
         @param album id as int
         @param genre ids as [int]
         @param artist ids as [int]
         @param show cover as bool
     """
     AlbumDetailedWidget.__init__(self, album_id, genre_ids, artist_ids,
                                  show_cover)
     self._artist_label.set_text(", ".join(self._album.artists))
     self._artist_label.show()
Ejemplo n.º 4
0
 def __init__(self, album_id, genre_id, pop_allowed, size_group):
     """
         Init detailed album widget
         @param album id as int
         @param genre id as int
         @param parent width as int
         @param pop_allowed as bool if widget can show popovers
         @param size group as Gtk.SizeGroup
     """
     AlbumDetailedWidget.__init__(self, album_id, genre_id, pop_allowed, size_group)
     self._artist_label.set_text(self._album.artist_name)
     self._artist_label.show()
Ejemplo n.º 5
0
 def __init__(self, album_id, genre_ids, artist_ids, update_albums=True):
     """
         Init detailed album widget
         @param album id as int
         @param genre ids as [int]
         @param artist ids as [int]
         @param update albums as bool: update albums on play
     """
     AlbumDetailedWidget.__init__(self, album_id, genre_ids, artist_ids,
                                  update_albums)
     self._artist_label.set_text(", ".join(self._album.artists))
     self._artist_label.show()
Ejemplo n.º 6
0
 def __init__(self, album_id, genre_ids, artist_ids, update_albums=True):
     """
         Init detailed album widget
         @param album id as int
         @param genre ids as [int]
         @param artist ids as [int]
         @param update albums as bool: update albums on play
     """
     AlbumDetailedWidget.__init__(self, album_id, genre_ids, artist_ids,
                                  update_albums)
     self._artist_label.set_text(", ".join(self._album.artists))
     self._artist_label.show()
Ejemplo n.º 7
0
 def __init__(self, album_id, genre_id, pop_allowed, size_group):
     """
         Init detailed album widget
         @param album id as int
         @param genre id as int
         @param parent width as int
         @param pop_allowed as bool if widget can show popovers
         @param size group as Gtk.SizeGroup
     """
     AlbumDetailedWidget.__init__(self, album_id, genre_id, pop_allowed,
                                  size_group)
     self._artist_label.set_text(self._album.artist_name)
     self._artist_label.show()
Ejemplo n.º 8
0
 def __init__(self, album_id, genre_ids, artist_ids,
              size_group, update_albums=True):
     """
         Init detailed album widget
         @param album id as int
         @param genre ids as [int]
         @param artist ids as [int]
         @param size group as Gtk.SizeGroup
         @param update albums as bool: update albums on play
     """
     AlbumDetailedWidget.__init__(self, album_id, genre_ids, artist_ids,
                                  size_group, update_albums)
     self._artist_label.set_text(self._album.artist_name)
     self._artist_label.show()