summaryrefslogtreecommitdiffstats
path: root/panels/sound/cc-fade-slider.ui
diff options
context:
space:
mode:
Diffstat (limited to 'panels/sound/cc-fade-slider.ui')
-rw-r--r--panels/sound/cc-fade-slider.ui30
1 files changed, 30 insertions, 0 deletions
diff --git a/panels/sound/cc-fade-slider.ui b/panels/sound/cc-fade-slider.ui
new file mode 100644
index 0000000..97984fb
--- /dev/null
+++ b/panels/sound/cc-fade-slider.ui
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.0 -->
+ <template class="CcFadeSlider" 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">Fade</property>
+ </accessibility>
+ <marks>
+ <mark value="-1" translatable="yes">Rear</mark>
+ <mark value="0"/>
+ <mark value="1" translatable="yes">Front</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="CcFadeSlider" swapped="yes"/>
+ </object>
+</interface>