<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk+" version="3.10"/>
  <template class="GsPrefsDialog" parent="HdyPreferencesWindow">
    <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="HdyPreferencesPage">
        <property name="visible">True</property>
        <child>
          <object class="HdyPreferencesGroup">
            <property name="visible">True</property>
            <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="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>
                <property name="subtitle_lines">0</property>
                <property name="activatable_widget">switch_updates</property>
                <child>
                  <object class="GtkSwitch" id="switch_updates">
                    <property name="visible">True</property>
                    <property name="valign">center</property>
                  </object>
                </child>
              </object>
            </child>
            <child>
              <object class="HdyActionRow">
                <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>
                <property name="subtitle_lines">0</property>
                <property name="activatable_widget">switch_updates_notify</property>
                <child>
                  <object class="GtkSwitch" id="switch_updates_notify">
                    <property name="visible">True</property>
                    <property name="valign">center</property>
                  </object>
                </child>
              </object>
            </child>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>
