diff options
Diffstat (limited to 'gnome-initial-setup/pages/privacy/gis-privacy-page.ui')
-rw-r--r-- | gnome-initial-setup/pages/privacy/gis-privacy-page.ui | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/gnome-initial-setup/pages/privacy/gis-privacy-page.ui b/gnome-initial-setup/pages/privacy/gis-privacy-page.ui new file mode 100644 index 0000000..84ea8e3 --- /dev/null +++ b/gnome-initial-setup/pages/privacy/gis-privacy-page.ui @@ -0,0 +1,79 @@ +<?xml version="1.0"?> +<interface> + <requires lib="gtk+" version="3.0"/> + <template class="GisPrivacyPage" parent="GisPage"> + + <child> + <object class="AdwPreferencesPage"> + + <child> + <object class="AdwPreferencesGroup"> + <child> + <object class="GisPageHeader" id="header"> + <property name="margin_top">24</property> + <property name="title" translatable="yes">Privacy</property> + <property name="icon_name">preferences-system-privacy-symbolic</property> + <property name="show_icon" bind-source="GisPrivacyPage" bind-property="small-screen" bind-flags="invert-boolean|sync-create"/> + </object> + </child> + </object> + </child> + + <child> + <object class="AdwPreferencesGroup"> + <child> + <object class="AdwActionRow"> + <property name="use-markup">True</property> + <property name="title" translatable="yes">Location Services</property> + <property name="subtitle" translatable="yes">Allows applications to determine your geographical location. Uses the Mozilla Location Service (<a href='https://location.services.mozilla.com/privacy'>privacy policy</a>).</property> + <property name="activatable-widget">location_switch</property> + <child> + <object class="GtkSwitch" id="location_switch"> + <property name="valign">center</property> + </object> + </child> + </object> + </child> + </object> + </child> + + <child> + <object class="AdwPreferencesGroup" id="reporting_group"> + <child> + <object class="AdwActionRow" id="reporting_row"> + <property name="title" translatable="yes">Automatic Problem Reporting</property> + <property name="activatable-widget">reporting_switch</property> + <child> + <object class="GtkSwitch" id="reporting_switch"> + <property name="valign">center</property> + </object> + </child> + </object> + </child> + </object> + </child> + + <child> + <object class="AdwPreferencesGroup"> + <child> + <object class="GtkLabel" id="footer_label"> + <property name="valign">end</property> + <property name="vexpand">True</property> + <property name="label" translatable="yes">Privacy controls can be changed at any time from the Settings application.</property> + <property name="xalign">0.5</property> + <property name="justify">center</property> + <property name="wrap">True</property> + <property name="margin_bottom">18</property> + <style> + <class name="dim-label"/> + </style> + </object> + </child> + </object> + </child> + + </object> + </child> + + </template> +</interface> |