From e3358d85f77da3afb93cd25a19bb9d30c972920f Mon Sep 17 00:00:00 2001 From: Ark74 Date: Sat, 31 May 2025 23:55:26 -0600 Subject: [PATCH] update-manager: update python style patch --- helpers/DATA/update-manager/extra/99_pycodestyle_pass.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/helpers/DATA/update-manager/extra/99_pycodestyle_pass.patch b/helpers/DATA/update-manager/extra/99_pycodestyle_pass.patch index e9e60a6..c58b3c0 100644 --- a/helpers/DATA/update-manager/extra/99_pycodestyle_pass.patch +++ b/helpers/DATA/update-manager/extra/99_pycodestyle_pass.patch @@ -12,10 +12,10 @@ index 0f887633..5f919829 100644 name = "Trisquel base" icon = Gio.ThemedIcon.new("distributor-logo") diff --git a/UpdateManager/UpdatesAvailable.py b/UpdateManager/UpdatesAvailable.py -index 7562bcc6..17de28cb 100644 +index 2cb7f3d3..0410578f 100644 --- a/UpdateManager/UpdatesAvailable.py +++ b/UpdateManager/UpdatesAvailable.py -@@ -851,8 +851,8 @@ class UpdatesAvailable(InternalDialog): +@@ -862,8 +862,8 @@ class UpdatesAvailable(InternalDialog): self.button_pro.destroy() elif (self.list.ubuntu_pro_fake_groups and not self.list.ubuntu_pro_groups): @@ -23,6 +23,6 @@ index 7562bcc6..17de28cb 100644 - " these updates.") + download_str = _("You need to enable Trisquel Pro to" + " install these updates.") - self.button_install.destroy() + self.button_install.hide() else: download_str = _("There are no updates to install.")