diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:45:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:45:20 +0000 |
commit | ae1c76ff830d146d41e88d6fba724c0a54bce868 (patch) | |
tree | 3c354bec95af07be35fc71a4b738268496f1a1c4 /panels/sound/cc-volume-slider.ui | |
parent | Initial commit. (diff) | |
download | gnome-control-center-ae1c76ff830d146d41e88d6fba724c0a54bce868.tar.xz gnome-control-center-ae1c76ff830d146d41e88d6fba724c0a54bce868.zip |
Adding upstream version 1:43.6.upstream/1%43.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | panels/sound/cc-volume-slider.ui | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/panels/sound/cc-volume-slider.ui b/panels/sound/cc-volume-slider.ui new file mode 100644 index 0000000..a3de463 --- /dev/null +++ b/panels/sound/cc-volume-slider.ui @@ -0,0 +1,34 @@ +<?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> + <accessibility> + <property name="label" translatable="yes">Volume</property> + </accessibility> + </object> + </child> + <child> + <object class="GtkToggleButton" id="mute_button"> + <property name="visible">True</property> + <property name="icon_name">audio-volume-muted-symbolic</property> + <accessibility> + <property name="label" translatable="yes">Mute</property> + </accessibility> + <signal name="toggled" handler="mute_button_toggled_cb" object="CcVolumeSlider" swapped="yes"/> + <style> + <class name="flat" /> + </style> + </object> + </child> + </template> + <object class="GtkAdjustment" id="volume_adjustment"> + <signal name="value_changed" handler="volume_changed_cb" object="CcVolumeSlider" swapped="yes"/> + </object> +</interface> |