[gnome-documents/wip/abono/selectionToolbar: 6/6] selection-toolbar: Rearrange buttons and use icons
- From: Alessandro Bono <abono src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/wip/abono/selectionToolbar: 6/6] selection-toolbar: Rearrange buttons and use icons
- Date: Tue, 10 Nov 2015 16:52:04 +0000 (UTC)
commit 4f3464c0052ea35cf700f08f21ee46896585b406
Author: Alessandro Bono <shadow openaliasbox org>
Date: Tue Nov 10 17:38:56 2015 +0100
selection-toolbar: Rearrange buttons and use icons
data/ui/selection-toolbar.ui | 48 ++++++++++++++++++++++++++++++++++-------
1 files changed, 39 insertions(+), 9 deletions(-)
---
diff --git a/data/ui/selection-toolbar.ui b/data/ui/selection-toolbar.ui
index 7796f0e..82d258a 100644
--- a/data/ui/selection-toolbar.ui
+++ b/data/ui/selection-toolbar.ui
@@ -13,31 +13,61 @@
</packing>
</child>
<child>
- <object class="GtkButton" id="toolbarPrint">
+ <object class="GtkSeparator">
<property name="visible">True</property>
- <property name="label" translatable="yes">Print</property>
+ <property name="orientation">GTK_ORIENTATION_VERTICAL</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="toolbarShare">
+ <property name="visible">False</property>
+ <property name="no-show-all">True</property>
+ <style>
+ <class name="image-button"/>
+ </style>
+ <child>
+ <object class="GtkImage">
+ <property name="visible">True</property>
+ <property name="icon_name">emblem-shared-symbolic</property>
+ </object>
+ </child>
</object>
<packing>
<property name="pack_type">start</property>
</packing>
</child>
<child>
- <object class="GtkButton" id="toolbarTrash">
+ <object class="GtkButton" id="toolbarPrint">
<property name="visible">True</property>
- <property name="label" translatable="yes">Delete</property>
+ <style>
+ <class name="image-button"/>
+ </style>
+ <child>
+ <object class="GtkImage">
+ <property name="visible">True</property>
+ <property name="icon_name">document-print-symbolic</property>
+ </object>
+ </child>
</object>
<packing>
<property name="pack_type">start</property>
</packing>
</child>
<child>
- <object class="GtkButton" id="toolbarShare">
- <property name="visible">False</property>
- <property name="no-show-all">True</property>
- <property name="label" translatable="yes">Share</property>
+ <object class="GtkButton" id="toolbarTrash">
+ <property name="visible">True</property>
+ <style>
+ <class name="image-button"/>
+ </style>
+ <child>
+ <object class="GtkImage">
+ <property name="visible">True</property>
+ <property name="icon_name">user-trash-symbolic</property>
+ </object>
+ </child>
</object>
<packing>
- <property name="pack_type">end</property>
+ <property name="pack_type">start</property>
</packing>
</child>
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]