diff options
Diffstat (limited to 'src/gs-prefs-dialog.ui')
-rw-r--r-- | src/gs-prefs-dialog.ui | 133 |
1 files changed, 133 insertions, 0 deletions
diff --git a/src/gs-prefs-dialog.ui b/src/gs-prefs-dialog.ui new file mode 100644 index 0000000..bdf989c --- /dev/null +++ b/src/gs-prefs-dialog.ui @@ -0,0 +1,133 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <requires lib="gtk+" version="3.10"/> + <template class="GsPrefsDialog" parent="GtkDialog"> + <property name="title" translatable="yes">Update Preferences</property> + <property name="modal">True</property> + <property name="destroy_with_parent">True</property> + <property name="type_hint">dialog</property> + <property name="resizable">False</property> + <property name="skip_taskbar_hint">True</property> + <property name="use_header_bar">1</property> + <child internal-child="headerbar"> + <object class="GtkHeaderBar"> + <child type="title"> + <object class="GtkLabel" id="label_header"> + <property name="visible">True</property> + <property name="label" translatable="yes">Update Preferences</property> + <property name="selectable">False</property> + <style> + <class name="title"/> + </style> + </object> + </child> + </object> + </child> + <child internal-child="vbox"> + <object class="GtkBox" id="dialog-vbox1"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkGrid"> + <property name="visible">True</property> + <property name="margin_top">24</property> + <property name="margin_bottom">24</property> + <property name="margin_start">33</property> + <property name="margin_end">33</property> + <property name="row_spacing">6</property> + <property name="column_spacing">27</property> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Automatic Updates</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkSwitch" id="switch_updates"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="halign">end</property> + <property name="valign">start</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="halign">start</property> + <property name="margin_bottom">15</property> + <property name="label" translatable="yes">Automatic updates are disabled when on mobile or metered connections.</property> + <property name="wrap">True</property> + <property name="width_chars">28</property> + <property name="max_width_chars">28</property> + <property name="xalign">0</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Automatic Update Notifications</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + </packing> + </child> + <child> + <object class="GtkLabel"> + <property name="visible">True</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Show notifications when updates have been automatically installed.</property> + <property name="wrap">True</property> + <property name="width_chars">28</property> + <property name="max_width_chars">28</property> + <property name="xalign">0</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">3</property> + </packing> + </child> + <child> + <object class="GtkSwitch" id="switch_updates_notify"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="halign">end</property> + <property name="valign">start</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">2</property> + </packing> + </child> + </object> + </child> + </object> + </child> + </template> +</interface> |