[gtk+] inspector: Use GtkButton:icon-name in ui files
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] inspector: Use GtkButton:icon-name in ui files
- Date: Mon, 16 Jan 2017 17:07:15 +0000 (UTC)
commit 132f2721ce49c2d5b8af3842655773b9c5c70039
Author: Timm Bäder <mail baedert org>
Date: Fri Jan 13 21:08:59 2017 +0100
inspector: Use GtkButton:icon-name in ui files
gtk/inspector/css-editor.ui | 22 ++--------------------
gtk/inspector/object-tree.ui | 22 ++--------------------
2 files changed, 4 insertions(+), 40 deletions(-)
---
diff --git a/gtk/inspector/css-editor.ui b/gtk/inspector/css-editor.ui
index f3a5eb3..bb195cb 100644
--- a/gtk/inspector/css-editor.ui
+++ b/gtk/inspector/css-editor.ui
@@ -32,17 +32,8 @@
<property name="visible">True</property>
<property name="relief">none</property>
<property name="tooltip-text" translatable="yes">Disable this custom CSS</property>
+ <property name="icon-name">media-playback-pause-symbolic</property>
<signal name="toggled" handler="disable_toggled"/>
- <style>
- <class name="image-button"/>
- </style>
- <child>
- <object class="GtkImage">
- <property name="visible">True</property>
- <property name="icon-name">media-playback-pause-symbolic</property>
- <property name="icon-size">1</property>
- </object>
- </child>
</object>
<packing>
<property name="pack-type">start</property>
@@ -53,17 +44,8 @@
<property name="visible">True</property>
<property name="relief">none</property>
<property name="tooltip-text" translatable="yes">Save the current CSS</property>
+ <property name="icon-name">document-save-symbolic</property>
<signal name="clicked" handler="save_clicked"/>
- <style>
- <class name="image-button"/>
- </style>
- <child>
- <object class="GtkImage">
- <property name="visible">True</property>
- <property name="icon-name">document-save-symbolic</property>
- <property name="icon-size">1</property>
- </object>
- </child>
</object>
<packing>
<property name="pack-type">start</property>
diff --git a/gtk/inspector/object-tree.ui b/gtk/inspector/object-tree.ui
index 0229a93..e68b3d6 100644
--- a/gtk/inspector/object-tree.ui
+++ b/gtk/inspector/object-tree.ui
@@ -38,33 +38,15 @@
<child>
<object class="GtkButton">
<property name="visible">True</property>
+ <property name="icon-name">go-down-symbolic</property>
<signal name="clicked" handler="next_match"/>
- <style>
- <class name="image-button"/>
- </style>
- <child>
- <object class="GtkImage">
- <property name="visible">True</property>
- <property name="icon-name">go-down-symbolic</property>
- <property name="icon-size">1</property>
- </object>
- </child>
</object>
</child>
<child>
<object class="GtkButton">
<property name="visible">True</property>
+ <property name="icon-name">go-up-symbolic</property>
<signal name="clicked" handler="previous_match"/>
- <style>
- <class name="image-button"/>
- </style>
- <child>
- <object class="GtkImage">
- <property name="visible">True</property>
- <property name="icon-name">go-up-symbolic</property>
- <property name="icon-size">1</property>
- </object>
- </child>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]