summaryrefslogtreecommitdiff
path: root/panels/sound/cc-volume-slider.ui
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2018-11-19 12:57:52 +1300
committerRobert Ancell <robert.ancell@canonical.com>2019-02-07 09:31:18 +1300
commit0799c864e8579f993c3355c830f20ad58a349125 (patch)
tree7fcc0d88b2bc091d980fa5b7c326d97466f8e1b6 /panels/sound/cc-volume-slider.ui
parent652dd8bfc827685a5f5a02889c19dd8db790307c (diff)
downloadgnome-control-center-0799c864e8579f993c3355c830f20ad58a349125.tar.gz
sound: Rename new sound panel to replace old one
Diffstat (limited to 'panels/sound/cc-volume-slider.ui')
-rw-r--r--panels/sound/cc-volume-slider.ui31
1 files changed, 31 insertions, 0 deletions
diff --git a/panels/sound/cc-volume-slider.ui b/panels/sound/cc-volume-slider.ui
new file mode 100644
index 000000000..7ab849caf
--- /dev/null
+++ b/panels/sound/cc-volume-slider.ui
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.0 -->
+ <template class="CcVolumeSlider" parent="GtkBox">
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkScale" id="volume_scale">
+ <property name="visible">True</property>
+ <property name="adjustment">volume_adjustment</property>
+ <property name="draw_value">False</property>
+ <property name="hexpand">True</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkToggleButton" id="mute_button">
+ <property name="visible">True</property>
+ <property name="relief">none</property>
+ <signal name="toggled" handler="mute_button_toggled_cb" object="CcVolumeSlider" swapped="yes"/>
+ <child>
+ <object class="GtkImage">
+ <property name="visible">True</property>
+ <property name="icon_name">audio-volume-muted-symbolic</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </template>
+ <object class="GtkAdjustment" id="volume_adjustment">
+ <signal name="value_changed" handler="volume_changed_cb" object="CcVolumeSlider" swapped="yes"/>
+ </object>
+</interface>