scalebutton: Use GtkButon:icon-name in the ui file

This commit is contained in:
Timm Bäder 2017-01-13 21:09:14 +01:00
parent 3cfcbe2ccf
commit 28a3dd539d

View File

@ -34,16 +34,7 @@
<property name="relief">none</property>
<property name="halign">center</property>
<property name="valign">center</property>
<style>
<class name="image-button"/>
</style>
<child>
<object class="GtkImage">
<property name="visible">1</property>
<property name="icon-name">list-add-symbolic</property>
<property name="use-fallback">1</property>
</object>
</child>
<signal name="button-press-event" handler="cb_button_press" swapped="no"/>
<signal name="button-release-event" handler="cb_button_release" swapped="no"/>
<signal name="clicked" handler="cb_button_clicked" swapped="no"/>
@ -75,16 +66,7 @@
<property name="relief">none</property>
<property name="halign">center</property>
<property name="valign">center</property>
<style>
<class name="image-button"/>
</style>
<child>
<object class="GtkImage">
<property name="visible">1</property>
<property name="icon-name">list-remove-symbolic</property>
<property name="use-fallback">1</property>
</object>
</child>
<signal name="button-press-event" handler="cb_button_press" swapped="no"/>
<signal name="button-release-event" handler="cb_button_release" swapped="no"/>
<signal name="clicked" handler="cb_button_clicked" swapped="no"/>