[gtk+/wip/baedert/visible-widgets] scalebutton: Use GtkButon:icon-name in the ui file
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/visible-widgets] scalebutton: Use GtkButon:icon-name in the ui file
- Date: Sat, 14 Jan 2017 08:03:19 +0000 (UTC)
commit 09ff29754d99aecfe6ff741ea95f644c47d500be
Author: Timm Bäder <mail baedert org>
Date: Fri Jan 13 21:09:14 2017 +0100
scalebutton: Use GtkButon:icon-name in the ui file
gtk/ui/gtkscalebutton.ui | 22 ++--------------------
1 files changed, 2 insertions(+), 20 deletions(-)
---
diff --git a/gtk/ui/gtkscalebutton.ui b/gtk/ui/gtkscalebutton.ui
index 1594d86..b86e9e5 100644
--- a/gtk/ui/gtkscalebutton.ui
+++ b/gtk/ui/gtkscalebutton.ui
@@ -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"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]