mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
small fix in AlbumWindow
This commit is contained in:
parent
2b78ae1ecc
commit
cfd09828dd
|
@ -2424,6 +2424,9 @@ class AlbumWindow(FocusFrame):
|
||||||
GLib.idle_add(self._album_popover.open, album, artist, year, widget, event.x-h, event.y-v)
|
GLib.idle_add(self._album_popover.open, album, artist, year, widget, event.x-h, event.y-v)
|
||||||
else:
|
else:
|
||||||
genre, artists=self._artist_window.get_selected_artists()
|
genre, artists=self._artist_window.get_selected_artists()
|
||||||
|
if len(artists) > 1:
|
||||||
|
GLib.idle_add(self._artist_popover.open, None, genre, widget, event.x-h, event.y-v)
|
||||||
|
elif len(artists) == 1:
|
||||||
GLib.idle_add(self._artist_popover.open, artists[0], genre, widget, event.x-h, event.y-v)
|
GLib.idle_add(self._artist_popover.open, artists[0], genre, widget, event.x-h, event.y-v)
|
||||||
|
|
||||||
def _on_item_activated(self, widget, path):
|
def _on_item_activated(self, widget, path):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user