summaryrefslogtreecommitdiffstats
path: root/src/gs-prefs-dialog.ui
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:57:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:57:27 +0000
commit6f0f7d1b40a8fa8d46a2d6f4317600001cdbbb18 (patch)
treed423850ae901365e582137bdf2b5cbdffd7ca266 /src/gs-prefs-dialog.ui
parentInitial commit. (diff)
downloadgnome-software-52f52dbe2b7d1acede159f0ad22b99e1764d7513.tar.xz
gnome-software-52f52dbe2b7d1acede159f0ad22b99e1764d7513.zip
Adding upstream version 43.5.upstream/43.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--src/gs-prefs-dialog.ui48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/gs-prefs-dialog.ui b/src/gs-prefs-dialog.ui
new file mode 100644
index 0000000..3fcb8c1
--- /dev/null
+++ b/src/gs-prefs-dialog.ui
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <requires lib="gtk+" version="3.10"/>
+ <template class="GsPrefsDialog" parent="AdwPreferencesWindow">
+ <property name="title" translatable="yes">Update Preferences</property>
+ <property name="default_width">610</property>
+ <property name="default_height">300</property>
+ <property name="search_enabled">False</property>
+ <style>
+ <class name="update-preferences"/>
+ </style>
+ <child>
+ <object class="AdwPreferencesPage">
+ <child>
+ <object class="AdwPreferencesGroup">
+ <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="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>
+ <property name="activatable_widget">switch_updates</property>
+ <child>
+ <object class="GtkSwitch" id="switch_updates">
+ <property name="valign">center</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="AdwActionRow" id="automatic_update_notifications_row">
+ <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>
+ <property name="activatable_widget">switch_updates_notify</property>
+ <child>
+ <object class="GtkSwitch" id="switch_updates_notify">
+ <property name="valign">center</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+ </child>
+ </template>
+</interface>