mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
removed duplicated code in AlbumList
This commit is contained in:
parent
ba40cd2ec3
commit
a6a580a7a6
@ -2363,11 +2363,7 @@ class AlbumList(Gtk.IconView):
|
||||
GLib.idle_add(self._artist_popover.open, artist, genre, widget, event.x-h, event.y-v)
|
||||
|
||||
def _on_item_activated(self, widget, path):
|
||||
album=self._store[path][3]
|
||||
year=self._store[path][4]
|
||||
artist=self._store[path][5]
|
||||
genre=self._artist_list.genre_list.get_selected()
|
||||
self._client.album_to_playlist(album, artist, year, genre)
|
||||
self._path_to_playlist(path)
|
||||
|
||||
def _on_disconnected(self, *args):
|
||||
self.set_sensitive(False)
|
||||
|
Loading…
Reference in New Issue
Block a user