[gnome-control-center] location: Use AdwPreferences{Page, Group}
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] location: Use AdwPreferences{Page, Group}
- Date: Sun, 16 Jan 2022 12:16:06 +0000 (UTC)
commit cd440893d2ad1ed7ccd5383a89f498b1dfc198db
Author: Christopher Davis <christopherdavis gnome org>
Date: Fri Jan 14 22:38:27 2022 -0800
location: Use AdwPreferences{Page, Group}
panels/location/cc-location-panel.ui | 78 ++++++++++--------------------------
1 file changed, 22 insertions(+), 56 deletions(-)
---
diff --git a/panels/location/cc-location-panel.ui b/panels/location/cc-location-panel.ui
index c77500b1e..19090d79c 100644
--- a/panels/location/cc-location-panel.ui
+++ b/panels/location/cc-location-panel.ui
@@ -24,72 +24,38 @@
<object class="GtkStackPage">
<property name="name">content</property>
<property name="child">
- <object class="GtkScrolledWindow">
- <property name="hscrollbar-policy">never</property>
+ <object class="AdwPreferencesPage">
<child>
- <object class="AdwClamp">
- <property name="margin_top">32</property>
- <property name="margin_bottom">32</property>
- <property name="margin_start">12</property>
- <property name="margin_end">12</property>
+ <object class="AdwPreferencesGroup">
+ <property name="description" translatable="yes">Location services allow applications to
know your location. Using Wi-Fi and mobile broadband increases accuracy.
+Uses Mozilla Location Service: <a
href='https://location.services.mozilla.com/privacy'>Privacy Policy</a>
+
+Allow the applications below to determine your location.</property>
<child>
- <object class="GtkBox">
- <property name="orientation">vertical</property>
- <property name="hexpand">1</property>
- <property name="spacing">12</property>
- <child>
- <object class="GtkLabel" id="location_description_label">
- <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">1</property>
- <property name="max-width-chars">50</property>
- <property name="xalign">0</property>
- </object>
- </child>
- <child>
- <object class="GtkLabel" id="location_privacy_policy_label">
- <property name="label" translatable="yes">Uses Mozilla Location Service: <a
href='https://location.services.mozilla.com/privacy'>Privacy Policy</a></property>
- <property name="use-markup">1</property>
- <property name="wrap">1</property>
+ <object class="GtkListBox" id="location_apps_list_box">
+ <property name="selection-mode">none</property>
+ <style>
+ <class name="boxed-list"/>
+ </style>
+
+ <child type="placeholder">
+ <object class="GtkLabel">
+ <property name="margin_top">18</property>
+ <property name="margin_bottom">18</property>
+ <property name="margin_start">18</property>
+ <property name="margin_end">18</property>
+ <property name="label" translatable="yes">No Applications Have Asked for
Location Access</property>
+ <property name="wrap">true</property>
<property name="max-width-chars">50</property>
- <property name="xalign">0</property>
- </object>
- </child>
- <child>
- <object class="GtkLabel" id="location_apps_label">
- <property name="halign">start</property>
- <property name="xalign">0</property>
- <property name="wrap">1</property>
- <property name="label" translatable="yes">Allow the applications below to
determine your location.</property>
- </object>
- </child>
- <child>
- <object class="GtkListBox" id="location_apps_list_box">
- <property name="selection-mode">none</property>
<style>
- <class name="boxed-list"/>
+ <class name="dim-label" />
</style>
-
- <child type="placeholder">
- <object class="GtkLabel">
- <property name="margin_top">18</property>
- <property name="margin_bottom">18</property>
- <property name="margin_start">18</property>
- <property name="margin_end">18</property>
- <property name="label" translatable="yes">No Applications Have Asked for
Location Access</property>
- <property name="wrap">true</property>
- <property name="max-width-chars">50</property>
- <style>
- <class name="dim-label" />
- </style>
- </object>
- </child>
-
</object>
</child>
+
</object>
</child>
-
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]