mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
fixed placing of app chooser dialog
This commit is contained in:
parent
838e421466
commit
72588b5b66
|
@ -1493,7 +1493,7 @@ class SongPopover(Gtk.Popover):
|
||||||
|
|
||||||
def _on_open_button_clicked(self, *args):
|
def _on_open_button_clicked(self, *args):
|
||||||
self.popdown()
|
self.popdown()
|
||||||
dialog=Gtk.AppChooserDialog(gfile=self._gfile)
|
dialog=Gtk.AppChooserDialog(gfile=self._gfile, transient_for=self.get_toplevel())
|
||||||
app_chooser=dialog.get_widget()
|
app_chooser=dialog.get_widget()
|
||||||
response=dialog.run()
|
response=dialog.run()
|
||||||
if response == Gtk.ResponseType.OK:
|
if response == Gtk.ResponseType.OK:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user