pmaports/temp/gnome-software/0002-disable-Automatic-Updates-options.patch

39 lines
1.8 KiB
Diff
Raw Normal View History

2022-05-10 12:54:27 +00:00
From 5fa86de04924801104431d09be254ee049be7d1f 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
2022-05-10 12:54:27 +00:00
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
2022-05-10 12:54:27 +00:00
index 2ccde058f..3094b5c17 100644
--- a/src/gs-prefs-dialog.ui
+++ b/src/gs-prefs-dialog.ui
@@ -18,6 +18,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="HdyActionRow">
+ <property name="sensitive">False</property>
<property name="visible">True</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>
@@ -33,6 +34,7 @@
</child>
<child>
<object class="HdyActionRow">
+ <property name="sensitive">False</property>
<property name="visible">True</property>
<property name="title" translatable="yes">Automatic Update Notifications</property>
<property name="subtitle" translatable="yes">Show notifications when updates have been automatically installed.</property>
--
2022-05-10 12:54:27 +00:00
2.36.1