[gnome-control-center] microphone: Use AdwStatusPage
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] microphone: Use AdwStatusPage
- Date: Sat, 12 Feb 2022 11:56:54 +0000 (UTC)
commit c2c9334a596579816f8c05d872030faa9d6437dc
Author: Christopher Davis <christopherdavis gnome org>
Date: Thu Feb 10 14:39:42 2022 -0800
microphone: Use AdwStatusPage
panels/microphone/cc-microphone-panel.ui | 35 ++++----------------------------
1 file changed, 4 insertions(+), 31 deletions(-)
---
diff --git a/panels/microphone/cc-microphone-panel.ui b/panels/microphone/cc-microphone-panel.ui
index 67c01a56a..a39a4f091 100644
--- a/panels/microphone/cc-microphone-panel.ui
+++ b/panels/microphone/cc-microphone-panel.ui
@@ -15,37 +15,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">microphone-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">Microphone is 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 record sound.</property>
- <style>
- <class name="dim-label"/>
- </style>
- </object>
- </child>
+ <object class="AdwStatusPage">
+ <property name="icon-name">microphone-disabled-symbolic</property>
+ <property name="title" translatable="yes">Microphone Turned Off</property>
+ <property name="description" translatable="yes">No applications can record sound.</property>
</object>
</property>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]