[gnome-control-center] location: Use AdwStatusPage
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] location: Use AdwStatusPage
- Date: Sun, 16 Jan 2022 12:16:06 +0000 (UTC)
commit 9e81c4e741b145bbc1bb8a49cf5246d89cc1e3d3
Author: Christopher Davis <christopherdavis gnome org>
Date: Fri Jan 14 20:09:11 2022 -0800
location: Use AdwStatusPage
panels/location/cc-location-panel.ui | 35 ++++-------------------------------
1 file changed, 4 insertions(+), 31 deletions(-)
---
diff --git a/panels/location/cc-location-panel.ui b/panels/location/cc-location-panel.ui
index 14c05840c..c77500b1e 100644
--- a/panels/location/cc-location-panel.ui
+++ b/panels/location/cc-location-panel.ui
@@ -10,37 +10,10 @@
<object class="GtkStackPage">
<property name="name">empty</property>
<property name="child">
- <object class="GtkBox">
- <property name="orientation">vertical</property>
- <property name="valign">center</property>
- <child>
- <object class="GtkImage">
- <property name="valign">start</property>
- <property name="pixel-size">96</property>
- <property name="icon-name">location-services-disabled-symbolic</property>
- <style>
- <class name="dim-label"/>
- </style>
- </object>
- </child>
- <child>
- <object class="GtkLabel">
- <property name="margin-top">20</property>
- <property name="margin-bottom">15</property>
- <property name="label" translatable="yes">Location services turned off</property>
- <attributes>
- <attribute name="scale" value="1.44"/>
- </attributes>
- </object>
- </child>
- <child>
- <object class="GtkLabel">
- <property name="label" translatable="yes">No applications can obtain location
information.</property>
- <style>
- <class name="dim-label"/>
- </style>
- </object>
- </child>
+ <object class="AdwStatusPage">
+ <property name="icon-name">location-services-disabled-symbolic</property>
+ <property name="title" translatable="yes">Location Services Turned Off</property>
+ <property name="description" translatable="yes">No applications can obtain location
information.</property>
</object>
</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]