summaryrefslogtreecommitdiffstats
path: root/gnome-initial-setup/pages/privacy/gis-privacy-page.ui
blob: 84ea8e3cd90ddea282fc26a3a0cd31c481cfdbd0 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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 (&lt;a href='https://location.services.mozilla.com/privacy'&gt;privacy policy&lt;/a&gt;).</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>