summaryrefslogtreecommitdiff
path: root/panels/sound
diff options
context:
space:
mode:
Diffstat (limited to 'panels/sound')
-rw-r--r--panels/sound/cc-sound-panel.c8
-rw-r--r--panels/sound/cc-sound-panel.ui32
2 files changed, 12 insertions, 28 deletions
diff --git a/panels/sound/cc-sound-panel.c b/panels/sound/cc-sound-panel.c
index 2bdc8e6b5..219e6c225 100644
--- a/panels/sound/cc-sound-panel.c
+++ b/panels/sound/cc-sound-panel.c
@@ -49,19 +49,19 @@ struct _CcSoundPanel
AdwPreferencesGroup *output_group;
CcLevelBar *output_level_bar;
CcDeviceComboBox *output_device_combo_box;
- GtkListBoxRow *output_profile_row;
+ AdwPreferencesRow *output_profile_row;
CcProfileComboBox *output_profile_combo_box;
CcVolumeSlider *output_volume_slider;
CcBalanceSlider *balance_slider;
- GtkListBoxRow *fade_row;
+ AdwPreferencesRow *fade_row;
CcFadeSlider *fade_slider;
- GtkListBoxRow *subwoofer_row;
+ AdwPreferencesRow *subwoofer_row;
CcSubwooferSlider *subwoofer_slider;
AdwPreferencesGroup *output_no_devices_group;
AdwPreferencesGroup *input_group;
CcLevelBar *input_level_bar;
CcDeviceComboBox *input_device_combo_box;
- GtkListBoxRow *input_profile_row;
+ AdwPreferencesRow *input_profile_row;
CcProfileComboBox *input_profile_combo_box;
CcVolumeSlider *input_volume_slider;
AdwPreferencesGroup *input_no_devices_group;
diff --git a/panels/sound/cc-sound-panel.ui b/panels/sound/cc-sound-panel.ui
index 6c97b63f4..49693346c 100644
--- a/panels/sound/cc-sound-panel.ui
+++ b/panels/sound/cc-sound-panel.ui
@@ -18,14 +18,8 @@
</child>
</object>
</property>
- <child>
- <object class="GtkListBox">
- <property name="selection_mode">none</property>
- <style>
- <class name="boxed-list"/>
- </style>
<child>
- <object class="GtkListBoxRow">
+ <object class="AdwPreferencesRow">
<property name="activatable">False</property>
<child>
<object class="GtkBox">
@@ -66,7 +60,7 @@
</object>
</child>
<child>
- <object class="GtkListBoxRow" id="output_profile_row">
+ <object class="AdwPreferencesRow" id="output_profile_row">
<property name="activatable">False</property>
<child>
<object class="GtkBox">
@@ -129,7 +123,7 @@
</object>
</child>
<child>
- <object class="GtkListBoxRow">
+ <object class="AdwPreferencesRow">
<property name="activatable">False</property>
<child>
<object class="GtkBox">
@@ -155,7 +149,7 @@
</object>
</child>
<child>
- <object class="GtkListBoxRow" id="fade_row">
+ <object class="AdwPreferencesRow" id="fade_row">
<property name="activatable">False</property>
<child>
<object class="GtkBox">
@@ -181,7 +175,7 @@
</object>
</child>
<child>
- <object class="GtkListBoxRow" id="subwoofer_row">
+ <object class="AdwPreferencesRow" id="subwoofer_row">
<property name="activatable">False</property>
<child>
<object class="GtkBox">
@@ -205,8 +199,6 @@
</object>
</child>
</object>
- </child>
- </object>
</child>
</object>
</child>
@@ -238,14 +230,8 @@
<property name="width-request">40</property>
</object>
</property>
- <child>
- <object class="GtkListBox">
- <property name="selection_mode">none</property>
- <style>
- <class name="boxed-list"/>
- </style>
<child>
- <object class="GtkListBoxRow">
+ <object class="AdwPreferencesRow">
<property name="activatable">False</property>
<child>
<object class="GtkBox">
@@ -282,7 +268,7 @@
</object>
</child>
<child>
- <object class="GtkListBoxRow" id="input_profile_row">
+ <object class="AdwPreferencesRow" id="input_profile_row">
<property name="activatable">False</property>
<child>
<object class="GtkBox">
@@ -316,7 +302,7 @@
</object>
</child>
<child>
- <object class="GtkListBoxRow">
+ <object class="AdwPreferencesRow">
<property name="activatable">False</property>
<child>
<object class="GtkBox">
@@ -340,8 +326,6 @@
</object>
</child>
</object>
- </child>
- </object>
</child>
</object>
</child>