bottles: update patches, add gamemode to propagatedBuildInputs (#408450)
This commit is contained in:
@@ -20,13 +20,14 @@
|
||||
lsb-release,
|
||||
pciutils,
|
||||
procps,
|
||||
gamemode,
|
||||
gamescope,
|
||||
mangohud,
|
||||
vkbasalt-cli,
|
||||
vmtouch,
|
||||
libportal,
|
||||
nix-update-script,
|
||||
removeWarningPopup ? false, # Final reminder to report any issues on nixpkgs' bugtracker
|
||||
removeWarningPopup ? false,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
@@ -103,6 +104,7 @@ python3Packages.buildPythonApplication rec {
|
||||
imagemagick
|
||||
vkbasalt-cli
|
||||
|
||||
gamemode
|
||||
gamescope
|
||||
mangohud
|
||||
vmtouch
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
diff --git a/bottles/frontend/windows/main_window.py b/bottles/frontend/windows/main_window.py
|
||||
index 79bf0d72..e37ca43e 100644
|
||||
--- a/bottles/frontend/windows/main_window.py
|
||||
index 79bf0d72..e37ca43e 100644
|
||||
--- a/bottles/frontend/windows/main_window.py
|
||||
+++ b/bottles/frontend/windows/main_window.py
|
||||
@@ -104,29 +104,15 @@ class MainWindow(Adw.ApplicationWindow):
|
||||
diff --git a/bottles/frontend/windows/window.py b/bottles/frontend/windows/window.py
|
||||
index 802b08b5..c4cada1d 100644
|
||||
--- a/bottles/frontend/windows/window.py
|
||||
+++ b/bottles/frontend/windows/window.py
|
||||
@@ -102,29 +102,15 @@ class BottlesWindow(Adw.ApplicationWindow):
|
||||
|
||||
def response(dialog, response, *args):
|
||||
if response == "close":
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
diff --git a/bottles/frontend/windows/window.py b/bottles/frontend/windows/window.py
|
||||
index 79bf0d72..e3a15cb5 100644
|
||||
index 802b08b5..e3de0536 100644
|
||||
--- a/bottles/frontend/windows/window.py
|
||||
+++ b/bottles/frontend/windows/window.py
|
||||
@@ -104,29 +104,29 @@ class MainWindow(Adw.ApplicationWindow):
|
||||
@@ -102,29 +102,30 @@ class BottlesWindow(Adw.ApplicationWindow):
|
||||
|
||||
def response(dialog, response, *args):
|
||||
if response == "close":
|
||||
@@ -15,15 +15,15 @@ index 79bf0d72..e3a15cb5 100644
|
||||
)
|
||||
- download_url = "usebottles.com/download"
|
||||
+ bugtracker_url = "github.com/NixOS/nixpkgs/issues"
|
||||
+
|
||||
|
||||
error_dialog = Adw.AlertDialog.new(
|
||||
_("Unsupported Environment"),
|
||||
- f"{body} <a href='https://{download_url}' title='https://{download_url}'>{download_url}.</a>",
|
||||
+ f"{body} <a href='https://{bugtracker_url}' title='https://{bugtracker_url}'>{bugtracker_url}.</a>",
|
||||
+ f"{body} <a href='https://{bugtracker_url}' title='https://{bugtracker_url}'>{bugtracker_url}.</a> \nThis warning can be disabled by overriding the package: `(pkgs.bottles.override {{ removeWarningPopup = false; }})`",
|
||||
)
|
||||
|
||||
- error_dialog.add_response("close", _("Close"))
|
||||
+ error_dialog.add_response("close", _("Understood"))
|
||||
error_dialog.add_response("close", _("Close"))
|
||||
error_dialog.set_body_use_markup(True)
|
||||
error_dialog.connect("response", response)
|
||||
error_dialog.present(self)
|
||||
|
||||
Reference in New Issue
Block a user