diff --git a/bottles/frontend/windows/drives.py b/bottles/frontend/windows/drives.py index 4e61d77a67..b1cf88c2cd 100644 --- a/bottles/frontend/windows/drives.py +++ b/bottles/frontend/windows/drives.py @@ -62,7 +62,7 @@ def __choose_path(self, *_args): """ def set_path(_dialog, response, _file_dialog): _file = _file_dialog.get_file() - if _file is None or response != Gtk.ResponseType.OK: + if _file is None or response != -3: _dialog.destroy() return path = _file.get_path() @@ -72,11 +72,11 @@ def set_path(_dialog, response, _file_dialog): FileChooser( parent=self.parent.window, - title=_("Choose path"), + title=_("Select Drive Path"), action=Gtk.FileChooserAction.SELECT_FOLDER, buttons=(_("Cancel"), _("Select")), callback=set_path, - native=False + native=True ) def __remove(self, *_args):