forked from Linux-Gaming/PortProtonQt
chore: drop default WINE button in wine settings tab
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
7 files changed
+1
-59
No files matched your search
@@ -7,7 +7,6 @@
|
||||
|
||||
### Added
|
||||
- Добавлена валидация конфига
|
||||
- На вкладке «Настройки Wine» добавлена кнопка установки Wine по умолчанию
|
||||
- Аргумент командной строки `--add-steam-compat-tool` для использования PortProtonQt как инструмента совместимости Steam
|
||||
- Аргумент командной строки `--reinstall-steam-compat-tool` для переустановки инструмента совместимости Steam в пользовательском каталоге
|
||||
- Аргумент командной строки `--remove-steam-compat-tool` для удаления инструмента совместимости Steam из пользовательского каталога
|
||||
|
||||
@@ -422,9 +422,6 @@ msgstr ""
|
||||
msgid "Uninstaller"
|
||||
msgstr ""
|
||||
|
||||
msgid "Set default WINE"
|
||||
msgstr ""
|
||||
|
||||
msgid "Create Prefix Backup"
|
||||
msgstr ""
|
||||
|
||||
@@ -446,12 +443,6 @@ msgstr ""
|
||||
msgid "Failed to start process."
|
||||
msgstr ""
|
||||
|
||||
msgid "Failed to update user.conf."
|
||||
msgstr ""
|
||||
|
||||
msgid "Default WINE updated in user.conf"
|
||||
msgstr ""
|
||||
|
||||
msgid "Confirm Clear"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -423,9 +423,6 @@ msgstr ""
|
||||
msgid "Uninstaller"
|
||||
msgstr ""
|
||||
|
||||
msgid "Set default WINE"
|
||||
msgstr ""
|
||||
|
||||
msgid "Create Prefix Backup"
|
||||
msgstr ""
|
||||
|
||||
@@ -447,12 +444,6 @@ msgstr ""
|
||||
msgid "Failed to start process."
|
||||
msgstr ""
|
||||
|
||||
msgid "Failed to update user.conf."
|
||||
msgstr ""
|
||||
|
||||
msgid "Default WINE updated in user.conf"
|
||||
msgstr ""
|
||||
|
||||
msgid "Confirm Clear"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PortProtonQt 0.1.1\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2026-04-02 10:32+0500\n"
|
||||
"POT-Creation-Date: 2026-04-07 09:28+0500\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -420,9 +420,6 @@ msgstr ""
|
||||
msgid "Uninstaller"
|
||||
msgstr ""
|
||||
|
||||
msgid "Set default WINE"
|
||||
msgstr ""
|
||||
|
||||
msgid "Create Prefix Backup"
|
||||
msgstr ""
|
||||
|
||||
@@ -444,12 +441,6 @@ msgstr ""
|
||||
msgid "Failed to start process."
|
||||
msgstr ""
|
||||
|
||||
msgid "Failed to update user.conf."
|
||||
msgstr ""
|
||||
|
||||
msgid "Default WINE updated in user.conf"
|
||||
msgstr ""
|
||||
|
||||
msgid "Confirm Clear"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -421,9 +421,6 @@ msgstr ""
|
||||
msgid "Uninstaller"
|
||||
msgstr ""
|
||||
|
||||
msgid "Set default WINE"
|
||||
msgstr ""
|
||||
|
||||
msgid "Create Prefix Backup"
|
||||
msgstr ""
|
||||
|
||||
@@ -445,12 +442,6 @@ msgstr ""
|
||||
msgid "Failed to start process."
|
||||
msgstr ""
|
||||
|
||||
msgid "Failed to update user.conf."
|
||||
msgstr ""
|
||||
|
||||
msgid "Default WINE updated in user.conf"
|
||||
msgstr ""
|
||||
|
||||
msgid "Confirm Clear"
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -430,9 +430,6 @@ msgstr "Командная строка"
|
||||
msgid "Uninstaller"
|
||||
msgstr "Удаление программ"
|
||||
|
||||
msgid "Set default WINE"
|
||||
msgstr "Выбрать WINE по умолчанию"
|
||||
|
||||
msgid "Create Prefix Backup"
|
||||
msgstr "Создать резервную копию префикса"
|
||||
|
||||
@@ -454,12 +451,6 @@ msgstr "Запуск инструмента..."
|
||||
msgid "Failed to start process."
|
||||
msgstr "Не удалось запустить процесс."
|
||||
|
||||
msgid "Failed to update user.conf."
|
||||
msgstr "Не удалось обновить user.conf."
|
||||
|
||||
msgid "Default WINE updated in user.conf"
|
||||
msgstr "WINE по умолчанию обновлён в user.conf"
|
||||
|
||||
msgid "Confirm Clear"
|
||||
msgstr "Подтвердите очистку"
|
||||
|
||||
|
||||
@@ -1889,7 +1889,6 @@ class MainWindow(QMainWindow):
|
||||
|
||||
additional_buttons = [
|
||||
("Winetricks", self.open_winetricks),
|
||||
(_("Set default WINE"), self.set_default_wine_in_use_conf),
|
||||
(_("Create Prefix Backup"), self.create_prefix_backup),
|
||||
(_("Load Prefix Backup"), self.load_prefix_backup),
|
||||
(_("Delete Prefix"), self.delete_prefix),
|
||||
@@ -2028,17 +2027,6 @@ class MainWindow(QMainWindow):
|
||||
"""Shows the Proton/WINE manager for downloading other WINE versions"""
|
||||
show_proton_manager(self, self.portproton_location, input_manager=self.input_manager)
|
||||
|
||||
def set_default_wine_in_use_conf(self) -> None:
|
||||
selected_wine = self.wineCombo.currentText().strip()
|
||||
if not selected_wine:
|
||||
return
|
||||
|
||||
if not set_user_conf_setting('PW_WINE_USE', selected_wine):
|
||||
QMessageBox.warning(self, _("Error"), _("Failed to update user.conf."))
|
||||
return
|
||||
|
||||
self.statusBar().showMessage(_("Default WINE updated in user.conf"), 3000)
|
||||
|
||||
def clear_prefix(self):
|
||||
"""Clear prefix"""
|
||||
selected_prefix = self.prefixCombo.currentText().strip()
|
||||
|
||||
Reference in new issue
Block a user