summaryrefslogtreecommitdiffstats
path: root/src/gs-prefs-dialog.ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-prefs-dialog.ui')
-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>