Beispiel #1
0
 def _on_image_button_release(self, eventbox, event):
     """
         Show artist artwork manager
         @param eventbox as Gtk.EventBox
         @param event as Gdk.Event
     """
     if InfoPopover.should_be_shown() and self._artist_ids:
         pop = ArtworkPopover(self._artist_ids[0])
         pop.set_relative_to(eventbox)
         pop.show()
Beispiel #2
0
 def _on_image_button_release(self, eventbox, event):
     """
         Show artist artwork manager
         @param eventbox as Gtk.EventBox
         @param event as Gdk.Event
     """
     if InfoPopover.should_be_shown() and self._artist_ids:
         pop = ArtworkPopover(self._artist_ids[0])
         pop.set_relative_to(eventbox)
         pop.show()