[gnome-boxes/split-remote-outta-wizard: 4/6] collection-toolbar: Make the "New" button have a + image
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/split-remote-outta-wizard: 4/6] collection-toolbar: Make the "New" button have a + image
- Date: Wed, 24 Jul 2019 11:56:15 +0000 (UTC)
commit 52f8a51ff36dd300e631394c4b905debec1ff40d
Author: Felipe Borges <felipeborges gnome org>
Date: Fri Jul 12 17:05:27 2019 +0200
collection-toolbar: Make the "New" button have a + image
The icon is now "list-add-symbolic". There are accessibility
objects in place for screen-readers.
Related to #306
data/ui/collection-toolbar.ui | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/data/ui/collection-toolbar.ui b/data/ui/collection-toolbar.ui
index 1ee22c03..6ce618a4 100644
--- a/data/ui/collection-toolbar.ui
+++ b/data/ui/collection-toolbar.ui
@@ -18,12 +18,22 @@
<object class="GtkMenuButton" id="new_btn">
<property name="visible">True</property>
<property name="valign">center</property>
- <property name="use-underline">True</property>
- <property name="label" translatable="yes">_New</property>
<property name="popover">assistant_menu</property>
<style>
- <class name="text-button"/>
+ <class name="image-button"/>
</style>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="a11y-new-button">
+ <property name="accessible-name" translatable="yes">New</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImage">
+ <property name="visible">True</property>
+ <property name="icon-name">list-add-symbolic</property>
+ <property name="icon-size">1</property>
+ </object>
+ </child>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]