mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
removed unneeded argument of MainCover
This commit is contained in:
parent
11e45a5d5d
commit
1231e07f52
@ -2578,10 +2578,9 @@ class CoverEventBox(Gtk.EventBox):
|
|||||||
self._click_pos=()
|
self._click_pos=()
|
||||||
|
|
||||||
class MainCover(Gtk.DrawingArea):
|
class MainCover(Gtk.DrawingArea):
|
||||||
def __init__(self, client, settings):
|
def __init__(self, client):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self._client=client
|
self._client=client
|
||||||
self._settings=settings
|
|
||||||
self._fallback=True
|
self._fallback=True
|
||||||
|
|
||||||
# connect
|
# connect
|
||||||
@ -2630,7 +2629,7 @@ class CoverLyricsWindow(Gtk.Overlay):
|
|||||||
self._settings=settings
|
self._settings=settings
|
||||||
|
|
||||||
# cover
|
# cover
|
||||||
main_cover=MainCover(self._client, self._settings)
|
main_cover=MainCover(self._client)
|
||||||
self._cover_event_box=CoverEventBox(self._client, self._settings)
|
self._cover_event_box=CoverEventBox(self._client, self._settings)
|
||||||
self._cover_event_box.add(Gtk.AspectFrame(child=main_cover, shadow_type=Gtk.ShadowType.NONE))
|
self._cover_event_box.add(Gtk.AspectFrame(child=main_cover, shadow_type=Gtk.ShadowType.NONE))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user