mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
fixed PlaylistsPopover name
This commit is contained in:
parent
0e0ad6091d
commit
93545af49c
@ -2297,7 +2297,7 @@ class PlaylistRow(Gtk.ListBoxRow):
|
|||||||
def to_playlist(self):
|
def to_playlist(self):
|
||||||
self._client.load(self._name)
|
self._client.load(self._name)
|
||||||
|
|
||||||
class PlaylistPopover(Gtk.Popover):
|
class PlaylistsPopover(Gtk.Popover):
|
||||||
def __init__(self, client, label):
|
def __init__(self, client, label):
|
||||||
super().__init__(position=Gtk.PositionType.TOP)
|
super().__init__(position=Gtk.PositionType.TOP)
|
||||||
self._client=client
|
self._client=client
|
||||||
@ -2595,7 +2595,7 @@ class PlaylistWindow(Gtk.Overlay):
|
|||||||
scroll=Gtk.ScrolledWindow(child=self._treeview)
|
scroll=Gtk.ScrolledWindow(child=self._treeview)
|
||||||
self.popover_button=Gtk.Button(image=AutoSizedIcon("view-list-symbolic", "icon-size", settings),
|
self.popover_button=Gtk.Button(image=AutoSizedIcon("view-list-symbolic", "icon-size", settings),
|
||||||
tooltip_text=_("Playlists management"), can_focus=False)
|
tooltip_text=_("Playlists management"), can_focus=False)
|
||||||
popover=PlaylistPopover(client, self._treeview.label)
|
popover=PlaylistsPopover(client, self._treeview.label)
|
||||||
popover.set_relative_to(self.popover_button)
|
popover.set_relative_to(self.popover_button)
|
||||||
|
|
||||||
# connect
|
# connect
|
||||||
|
Loading…
Reference in New Issue
Block a user