fixed menu position

This commit is contained in:
Martin Wagner 2022-11-28 23:19:58 +01:00
parent 00cc65f421
commit b9a3989893

View File

@ -1342,6 +1342,7 @@ class SongsList(TreeView):
subsection.append(_("Show in file manager"), "menu.show")
menu.append_section(None, subsection)
self._menu=Gtk.Popover.new_from_model(self, menu)
self._menu.set_position(Gtk.PositionType.BOTTOM)
# connect
self.connect("row-activated", self._on_row_activated)
@ -2192,6 +2193,7 @@ class PlaylistView(TreeView):
subsection.append(_("Show in file manager"), "menu.show")
menu.append_section(None, subsection)
self._menu=Gtk.Popover.new_from_model(self, menu)
self._menu.set_position(Gtk.PositionType.BOTTOM)
# connect
self.connect("row-activated", self._on_row_activated)