mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
disabled opening of multiple lyrics overlays
This commit is contained in:
parent
d198c3a9f1
commit
8a46bab4da
@ -1867,7 +1867,11 @@ class CoverLyricsOSD(Gtk.Overlay):
|
||||
pass
|
||||
|
||||
def on_lyrics_clicked(self, widget):
|
||||
self.lyrics_button.set_sensitive(False)
|
||||
self.lyrics_win=LyricsWindow(self.client, self.settings)
|
||||
def on_destroy(*args):
|
||||
self.lyrics_button.set_sensitive(True)
|
||||
self.lyrics_win.connect("destroy", on_destroy)
|
||||
self.add_overlay(self.lyrics_win)
|
||||
|
||||
class Browser(Gtk.Box):
|
||||
|
Loading…
Reference in New Issue
Block a user