forked from AuroraMiddleware/gtk
4f45353a19
Set a style class on the pathbar slider buttons, and have the theme handle the separately from other image buttons.
55 lines
2.3 KiB
XML
55 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="gtk30">
|
|
<!-- interface-requires gtk+ 3.10 -->
|
|
<object class="GtkButton" id="down_slider_button">
|
|
<property name="visible">1</property>
|
|
<property name="can_focus">1</property>
|
|
<property name="receives_default">1</property>
|
|
<property name="focus_on_click">0</property>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="down_slider_button-atkobject">
|
|
<property name="AtkObject::accessible-name" translatable="yes">Down Path</property>
|
|
</object>
|
|
</child>
|
|
<signal name="button-press-event" handler="gtk_path_bar_slider_button_press" swapped="no"/>
|
|
<signal name="button-release-event" handler="gtk_path_bar_slider_button_release" swapped="no"/>
|
|
<signal name="focus-out-event" handler="gtk_path_bar_slider_down_defocus" swapped="no"/>
|
|
<signal name="unmap" handler="on_slider_unmap" swapped="no"/>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">1</property>
|
|
<property name="icon-name">pan-end-symbolic</property>
|
|
<property name="icon-size">1</property>
|
|
</object>
|
|
</child>
|
|
<style>
|
|
<class name="slider-button"/>
|
|
</style>
|
|
</object>
|
|
<object class="GtkButton" id="up_slider_button">
|
|
<property name="visible">1</property>
|
|
<property name="can_focus">1</property>
|
|
<property name="receives_default">1</property>
|
|
<property name="focus_on_click">0</property>
|
|
<child internal-child="accessible">
|
|
<object class="AtkObject" id="up_slider_button-atkobject">
|
|
<property name="AtkObject::accessible-name" translatable="yes">Up Path</property>
|
|
</object>
|
|
</child>
|
|
<signal name="button-press-event" handler="gtk_path_bar_slider_button_press" swapped="no"/>
|
|
<signal name="button-release-event" handler="gtk_path_bar_slider_button_release" swapped="no"/>
|
|
<signal name="focus-out-event" handler="gtk_path_bar_slider_up_defocus" swapped="no"/>
|
|
<signal name="unmap" handler="on_slider_unmap" swapped="no"/>
|
|
<child>
|
|
<object class="GtkImage">
|
|
<property name="visible">1</property>
|
|
<property name="icon-name">pan-start-symbolic</property>
|
|
<property name="icon-size">1</property>
|
|
</object>
|
|
</child>
|
|
<style>
|
|
<class name="slider-button"/>
|
|
</style>
|
|
</object>
|
|
</interface>
|