def on_playlist_request(self): dialog = PlaylistDialog(self.props.active_window) res = dialog.run() dialog.destroy() return res == Gtk.ResponseType.YES
def on_playlist_request(self): dialog = PlaylistDialog(self) res = dialog.run() dialog.destroy() return res == Gtk.ResponseType.YES