[gnome-control-center] microphone: Use AdwPreferences{Page,Group}
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] microphone: Use AdwPreferences{Page,Group}
- Date: Sat, 12 Feb 2022 11:56:54 +0000 (UTC)
commit ab950bbfb57638c044f736402e955998c2c01f10
Author: Christopher Davis <christopherdavis gnome org>
Date: Thu Feb 10 14:43:46 2022 -0800
microphone: Use AdwPreferences{Page,Group}
panels/microphone/cc-microphone-panel.ui | 65 ++++++++++----------------------
1 file changed, 19 insertions(+), 46 deletions(-)
---
diff --git a/panels/microphone/cc-microphone-panel.ui b/panels/microphone/cc-microphone-panel.ui
index a39a4f091..7bb2113b3 100644
--- a/panels/microphone/cc-microphone-panel.ui
+++ b/panels/microphone/cc-microphone-panel.ui
@@ -28,64 +28,37 @@
<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">Use of the microphone allows
applications to record and listen to audio. Disabling the microphone may cause some applications to not
function properly.
+Allow the applications below to use your microphone.
+ </property>
<child>
- <object class="GtkBox">
- <property name="orientation">vertical</property>
- <property name="hexpand">1</property>
- <child>
- <object class="GtkLabel">
- <property name="margin-bottom">12</property>
- <property name="label" translatable="yes">Use of the microphone allows
applications to record and listen to audio. Disabling the microphone may cause some applications to not
function properly.</property>
- <property name="wrap">true</property>
- <property name="max-width-chars">50</property>
- <property name="xalign">0</property>
- </object>
- </child>
- <child>
+ <object class="GtkListBox" id="microphone_apps_list_box">
+ <property name="can-focus">true</property>
+ <property name="selection-mode">none</property>
+ <style>
+ <class name="boxed-list"/>
+ </style>
+
+ <child type="placeholder">
<object class="GtkLabel">
- <property name="margin-bottom">12</property>
- <property name="label" translatable="yes">Allow the applications below to use
your microphone.</property>
+ <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
Microphone Access</property>
<property name="wrap">true</property>
<property name="max-width-chars">50</property>
- <property name="xalign">0</property>
- </object>
- </child>
- <child>
- <object class="GtkListBox" id="microphone_apps_list_box">
- <property name="can-focus">true</property>
- <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
Microphone 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]