mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
fixed menu position
This commit is contained in:
parent
00cc65f421
commit
b9a3989893
@ -1342,6 +1342,7 @@ class SongsList(TreeView):
|
|||||||
subsection.append(_("Show in file manager"), "menu.show")
|
subsection.append(_("Show in file manager"), "menu.show")
|
||||||
menu.append_section(None, subsection)
|
menu.append_section(None, subsection)
|
||||||
self._menu=Gtk.Popover.new_from_model(self, menu)
|
self._menu=Gtk.Popover.new_from_model(self, menu)
|
||||||
|
self._menu.set_position(Gtk.PositionType.BOTTOM)
|
||||||
|
|
||||||
# connect
|
# connect
|
||||||
self.connect("row-activated", self._on_row_activated)
|
self.connect("row-activated", self._on_row_activated)
|
||||||
@ -2192,6 +2193,7 @@ class PlaylistView(TreeView):
|
|||||||
subsection.append(_("Show in file manager"), "menu.show")
|
subsection.append(_("Show in file manager"), "menu.show")
|
||||||
menu.append_section(None, subsection)
|
menu.append_section(None, subsection)
|
||||||
self._menu=Gtk.Popover.new_from_model(self, menu)
|
self._menu=Gtk.Popover.new_from_model(self, menu)
|
||||||
|
self._menu.set_position(Gtk.PositionType.BOTTOM)
|
||||||
|
|
||||||
# connect
|
# connect
|
||||||
self.connect("row-activated", self._on_row_activated)
|
self.connect("row-activated", self._on_row_activated)
|
||||||
|
Loading…
Reference in New Issue
Block a user