[gnome-documents] selection-toolbar: Rearrange buttons and use icons
- From: Alessandro Bono <abono src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] selection-toolbar: Rearrange buttons and use icons
- Date: Wed, 25 Nov 2015 22:37:34 +0000 (UTC)
commit 1c0beeb85125bbecf8ac433ed80f2926bb9802e3
Author: Alessandro Bono <abono gnome org>
Date: Tue Nov 10 17:38:56 2015 +0100
selection-toolbar: Rearrange buttons and use icons
https://bugzilla.gnome.org/show_bug.cgi?id=758182
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 b86d460..c5cb9ea 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">1</property>
- <property name="label" translatable="yes">Print</property>
+ <property name="orientation">vertical</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="toolbarShare">
+ <property name="visible">0</property>
+ <property name="no-show-all">1</property>
+ <style>
+ <class name="image-button"/>
+ </style>
+ <child>
+ <object class="GtkImage">
+ <property name="visible">1</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">1</property>
- <property name="label" translatable="yes">Delete</property>
+ <style>
+ <class name="image-button"/>
+ </style>
+ <child>
+ <object class="GtkImage">
+ <property name="visible">1</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">0</property>
- <property name="no-show-all">1</property>
- <property name="label" translatable="yes">Share</property>
+ <object class="GtkButton" id="toolbarTrash">
+ <property name="visible">1</property>
+ <style>
+ <class name="image-button"/>
+ </style>
+ <child>
+ <object class="GtkImage">
+ <property name="visible">1</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]