diff options
author | Christopher Davis <christopherdavis@gnome.org> | 2021-02-17 19:16:57 -0800 |
---|---|---|
committer | Christopher Davis <christopherdavis@gnome.org> | 2021-02-17 19:16:57 -0800 |
commit | 59036c4f076ba4f7351791670ebaf32457435fc6 (patch) | |
tree | 6db56bdf4f3ae43f8e7e1b648e7ae97057944920 | |
parent | 88a5aa84e58ef56c53951d975d6b8c9c8cc2b14a (diff) | |
download | gnome-control-center-59036c4f076ba4f7351791670ebaf32457435fc6.tar.gz |
location: Use HdyStatusPage
-rw-r--r-- | panels/location/cc-location-panel.ui | 38 |
1 files 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> |