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-balance-slider.ui | |
parent | Initial commit. (diff) | |
download | gnome-control-center-upstream.tar.xz gnome-control-center-upstream.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-balance-slider.ui | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/panels/sound/cc-balance-slider.ui b/panels/sound/cc-balance-slider.ui new file mode 100644 index 0000000..871a915 --- /dev/null +++ b/panels/sound/cc-balance-slider.ui @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <template class="CcBalanceSlider" parent="GtkBox"> + <child> + <object class="GtkScale"> + <property name="visible">True</property> + <property name="hexpand">True</property> + <property name="draw_value">False</property> + <property name="has_origin">False</property> + <property name="adjustment">adjustment</property> + <accessibility> + <property name="label" translatable="yes">Balance</property> + </accessibility> + <marks> + <mark value="-1" translatable="yes">Left</mark> + <mark value="0"/> + <mark value="1" translatable="yes">Right</mark> + </marks> + </object> + </child> + </template> + <object class="GtkAdjustment" id="adjustment"> + <property name="lower">-1.0</property> + <property name="upper">1.0</property> + <property name="step_increment">0.5</property> + <property name="page_increment">0.5</property> + <signal name="value_changed" handler="changed_cb" object="CcBalanceSlider" swapped="yes"/> + </object> +</interface> |