forked from AuroraMiddleware/gtk
scalebutton: Use GtkButon:icon-name in the ui file
This commit is contained in:
parent
3cfcbe2ccf
commit
28a3dd539d
@ -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>
|
||||
<property name="icon-name">list-add-symbolic</property>
|
||||
<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>
|
||||
<property name="icon-name">list-remove-symbolic</property>
|
||||
<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"/>
|
||||
|
Loading…
Reference in New Issue
Block a user