1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 03:35:38 +03:00
aports/community/gnome-software/0001-disable-Automatic-Updates-options.patch
2023-02-04 01:16:14 +01:00

38 lines
1.9 KiB
Diff

From 31bafff2df532537ac6e207d0b656b896329c487 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= <ablocorrea@hotmail.com>
Date: Mon, 17 Jan 2022 01:40:42 +0100
Subject: [PATCH] disable "Automatic Updates" options
Those can be dangerous, as applications are updated live, and
kernel or mkinitfs could be installed at any time. This includes
on very low battery or before user shuts-down the phone.
To avoid making this a hard fork of GS, discussion on steps to
solve this issue in pma#1388
---
src/gs-prefs-dialog.ui | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gs-prefs-dialog.ui b/src/gs-prefs-dialog.ui
index 3fcb8c1bd..92378029b 100644
--- a/src/gs-prefs-dialog.ui
+++ b/src/gs-prefs-dialog.ui
@@ -16,6 +16,7 @@
<property name="description" translatable="yes">To avoid charges and network caps, software updates are not automatically downloaded on mobile or metered connections.</property>
<child>
<object class="AdwActionRow" id="automatic_updates_row">
+ <property name="sensitive">False</property>
<property name="title" translatable="yes">Automatic Updates</property>
<property name="subtitle" translatable="yes">Downloads and installs software updates in the background, when possible.</property>
<property name="subtitle_lines">0</property>
@@ -29,6 +30,7 @@
</child>
<child>
<object class="AdwActionRow" id="automatic_update_notifications_row">
+ <property name="sensitive">False</property>
<property name="title" translatable="yes">Automatic Update Notifications</property>
<property name="subtitle" translatable="yes">Show notifications when updates have been automatically installed.</property>
<property name="subtitle_lines">0</property>
--
2.39.1