[gnome-builder] workbench: use new panel icons for toggle buttons
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] workbench: use new panel icons for toggle buttons
- Date: Sat, 20 Jun 2015 09:38:04 +0000 (UTC)
commit 5650ad7b2bb6e7e2eac7f4486053bc71c6549fc1
Author: Christian Hergert <christian hergert me>
Date: Mon Jun 8 13:26:58 2015 -0700
workbench: use new panel icons for toggle buttons
data/ui/gb-workbench.ui | 30 ++++++++++++++++++++++++++--
src/resources/gnome-builder.gresource.xml | 3 ++
2 files changed, 30 insertions(+), 3 deletions(-)
---
diff --git a/data/ui/gb-workbench.ui b/data/ui/gb-workbench.ui
index 997dfbe..dc97099 100644
--- a/data/ui/gb-workbench.ui
+++ b/data/ui/gb-workbench.ui
@@ -43,22 +43,46 @@
<child>
<object class="GtkToggleButton">
<property name="action-name">workbench.show-left-pane</property>
- <property name="label">L</property>
<property name="visible">true</property>
+ <style>
+ <class name="image-button"/>
+ </style>
+ <child>
+ <object class="GtkImage">
+ <property name="icon-name">builder-view-left-pane-symbolic</property>
+ <property name="visible">true</property>
+ </object>
+ </child>
</object>
</child>
<child>
<object class="GtkToggleButton">
<property name="action-name">workbench.show-bottom-pane</property>
- <property name="label">B</property>
<property name="visible">true</property>
+ <style>
+ <class name="image-button"/>
+ </style>
+ <child>
+ <object class="GtkImage">
+ <property name="icon-name">builder-view-bottom-pane-symbolic</property>
+ <property name="visible">true</property>
+ </object>
+ </child>
</object>
</child>
<child>
<object class="GtkToggleButton">
<property name="action-name">workbench.show-right-pane</property>
- <property name="label">R</property>
<property name="visible">true</property>
+ <style>
+ <class name="image-button"/>
+ </style>
+ <child>
+ <object class="GtkImage">
+ <property name="icon-name">builder-view-right-pane-symbolic</property>
+ <property name="visible">true</property>
+ </object>
+ </child>
</object>
</child>
</object>
diff --git a/src/resources/gnome-builder.gresource.xml b/src/resources/gnome-builder.gresource.xml
index 9a8dbad..d3c25b9 100644
--- a/src/resources/gnome-builder.gresource.xml
+++ b/src/resources/gnome-builder.gresource.xml
@@ -9,6 +9,9 @@
<file
alias="icons/scalable/actions/builder-split-tab-left-symbolic.svg">../../data/icons/hicolor/scalable/actions/builder-split-tab-left-symbolic.svg</file>
<file
alias="icons/scalable/actions/builder-split-tab-right-symbolic.svg">../../data/icons/hicolor/scalable/actions/builder-split-tab-right-symbolic.svg</file>
<file
alias="icons/scalable/actions/builder-split-tab-symbolic.svg">../../data/icons/hicolor/scalable/actions/builder-split-tab-symbolic.svg</file>
+ <file
alias="icons/scalable/actions/builder-view-bottom-pane-symbolic.svg">../../data/icons/hicolor/scalable/actions/builder-view-bottom-pane-symbolic.svg</file>
+ <file
alias="icons/scalable/actions/builder-view-left-pane-symbolic.svg">../../data/icons/hicolor/scalable/actions/builder-view-left-pane-symbolic.svg</file>
+ <file
alias="icons/scalable/actions/builder-view-right-pane-symbolic.svg">../../data/icons/hicolor/scalable/actions/builder-view-right-pane-symbolic.svg</file>
<file
alias="icons/scalable/actions/builder-vcs-git-symbolic.svg">../../data/icons/hicolor/scalable/vcs/builder-vcs-git-symbolic.svg</file>
<!-- Scalable autocompletion icons -->
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]