summaryrefslogtreecommitdiffstats
path: root/src/gs-prefs-dialog.ui
blob: 3fcb8c1bdd6c086a018bf2b68f4653b9438bd4f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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>