[gnome-control-center/wip/cdavis/40-consistency] location: Use HdyStatusPage
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/cdavis/40-consistency] location: Use HdyStatusPage
- Date: Fri, 19 Feb 2021 22:41:50 +0000 (UTC)
commit 59036c4f076ba4f7351791670ebaf32457435fc6
Author: Christopher Davis <christopherdavis gnome org>
Date: Wed Feb 17 19:16:57 2021 -0800
location: Use HdyStatusPage
panels/location/cc-location-panel.ui | 38 ++++--------------------------------
1 file changed, 4 insertions(+), 34 deletions(-)
---
diff --git a/panels/location/cc-location-panel.ui b/panels/location/cc-location-panel.ui
index 9bceb9ca6..fe7825011 100644
--- a/panels/location/cc-location-panel.ui
+++ b/panels/location/cc-location-panel.ui
@@ -8,41 +8,11 @@
<object class="GtkStack" id="stack">
<property name="visible">true</property>
<child>
- <object class="GtkBox">
+ <object class="HdyStatusPage">
<property name="visible">true</property>
- <property name="orientation">vertical</property>
- <property name="valign">center</property>
- <child>
- <object class="GtkImage">
- <property name="visible">true</property>
- <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="visible">true</property>
- <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="visible">true</property>
- <property name="label" translatable="yes">No applications can obtain location
information.</property>
- <style>
- <class name="dim-label"/>
- </style>
- </object>
- </child>
+ <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>
<packing>
<property name="name">empty</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]