summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Bicha <jbicha@ubuntu.com>2019-01-03 14:01:49 -0500
committerJeremy Bicha <jbicha@ubuntu.com>2019-01-03 14:55:18 -0500
commit74d82bf3a91ac2f3de76e935fc908daaa2e7f150 (patch)
treee1f48f229600cfab0e3ab883a2a2a4e53da9cff6
parente596a5e8005607813d14d59edc65697898a16348 (diff)
downloadgnome-control-center-wip/privacy-a11y.tar.gz
privacy: convert Mozilla link to a linkbuttonwip/privacy-a11y
This allows for it to be accessible via the keyboard
-rw-r--r--panels/privacy/cc-privacy-panel.ui46
1 files changed, 34 insertions, 12 deletions
diff --git a/panels/privacy/cc-privacy-panel.ui b/panels/privacy/cc-privacy-panel.ui
index 8b9190176..246bc64fc 100644
--- a/panels/privacy/cc-privacy-panel.ui
+++ b/panels/privacy/cc-privacy-panel.ui
@@ -756,11 +756,11 @@ All the information we collect is made anonymous, and we will never share your d
<object class="GtkBox">
<property name="visible">True</property>
<property name="orientation">vertical</property>
+ <property name="margin">12</property>
<child>
<object class="GtkLabel" id="location_description_label">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="margin_bottom">12</property>
<property name="label" translatable="yes">Location services allow applications to know your location. Using Wi-Fi and mobile broadband increases accuracy.</property>
<property name="wrap">True</property>
<property name="max_width_chars">50</property>
@@ -771,18 +771,40 @@ All the information we collect is made anonymous, and we will never share your d
</object>
</child>
<child>
- <object class="GtkLabel" id="location_privacy_policy_label">
+ <object class="GtkBox">
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="margin_bottom">12</property>
- <property name="label" translatable="yes">Uses Mozilla Location Service: &lt;a href='https://location.services.mozilla.com/privacy'&gt;Privacy Policy&lt;/a&gt;</property>
- <property name="use-markup">True</property>
- <property name="wrap">True</property>
- <property name="max_width_chars">50</property>
- <property name="xalign">0</property>
- <style>
- <class name="dim-label"/>
- </style>
+ <child>
+ <object class="GtkLabel" id="location_privacy_policy_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Uses Mozilla Location Service:</property>
+ <property name="use-markup">True</property>
+ <property name="wrap">True</property>
+ <property name="max_width_chars">50</property>
+ <style>
+ <class name="dim-label"/>
+ </style>
+ <accessibility>
+ <relation target="location_privacy_policy_button" type="label-for"/>
+ </accessibility>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLinkButton" id="location_privacy_policy_button">
+ <property name="label" translatable="yes">Privacy Policy</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="relief">none</property>
+ <property name="uri">https://location.services.mozilla.com/privacy</property>
+ <style>
+ <class name="dim-label"/>
+ </style>
+ <accessibility>
+ <relation target="location_privacy_policy_label" type="labelled-by"/>
+ </accessibility>
+ </object>
+ </child>
</object>
</child>
</object>