[gnome-notes/wip/igaldino/narrow: 1/2] selection-toolbar: use icons over text
- From: Isaque Galdino de Araujo <igaldino src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-notes/wip/igaldino/narrow: 1/2] selection-toolbar: use icons over text
- Date: Thu, 24 Oct 2019 02:00:11 +0000 (UTC)
commit 8162a046aae73c22fdd49a8075f78037cb8d26ee
Author: Isaque Galdino <igaldino gmail com>
Date: Wed Oct 23 22:58:56 2019 -0300
selection-toolbar: use icons over text
data/resources/selection-toolbar.ui | 35 +++++++++++++++++++++++++++++++----
1 file changed, 31 insertions(+), 4 deletions(-)
---
diff --git a/data/resources/selection-toolbar.ui b/data/resources/selection-toolbar.ui
index 982c12a..5559d26 100644
--- a/data/resources/selection-toolbar.ui
+++ b/data/resources/selection-toolbar.ui
@@ -22,8 +22,18 @@
<child>
<object class="GtkButton" id="notebook_button">
<property name="visible">1</property>
- <property name="label" translatable="yes">Notebooks</property>
<signal name="clicked" handler="action_tag_selected_items" object="BjbSelectionToolbar"
swapped="yes"/>
+ <style>
+ <class name="image-button"/>
+ </style>
+ <child>
+ <object class="GtkImage">
+ <property name="visible">1</property>
+ <property name="icon-name">folder-symbolic</property>
+ <property name="icon-size">1</property>
+ <property name="tooltip-text" translatable="yes">Notebooks</property>
+ </object>
+ </child>
</object>
</child>
@@ -56,19 +66,36 @@
<child>
<object class="GtkButton" id="detach_button">
<property name="visible">1</property>
- <property name="label" translatable="yes">Open in another window</property>
<signal name="clicked" handler="action_pop_up_note_callback"
object="BjbSelectionToolbar" swapped="yes"/>
+ <style>
+ <class name="image-button"/>
+ </style>
+ <child>
+ <object class="GtkImage">
+ <property name="visible">1</property>
+ <property name="icon-name">focus-windows-symbolic</property>
+ <property name="icon-size">1</property>
+ <property name="tooltip-text" translatable="yes">Open in another window</property>
+ </object>
+ </child>
</object>
</child>
<child>
<object class="GtkButton">
<property name="visible">1</property>
- <property name="label" translatable="yes">Move to Trash</property>
<signal name="clicked" handler="action_trash_selected_items"
object="BjbSelectionToolbar" swapped="yes"/>
<style>
- <class name="destructive-action"/>
+ <class name="image-button"/>
</style>
+ <child>
+ <object class="GtkImage">
+ <property name="visible">1</property>
+ <property name="icon-name">user-trash-symbolic</property>
+ <property name="icon-size">1</property>
+ <property name="tooltip-text" translatable="yes">Move to Trash</property>
+ </object>
+ </child>
</object>
<packing>
<property name="pack-type">end</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]