[seahorse] pgp: Use symbolic icons for photo buttons
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse] pgp: Use symbolic icons for photo buttons
- Date: Tue, 10 Aug 2021 21:33:38 +0000 (UTC)
commit 51d49f44f86ee1a5802eac1a2545499aa6fa9ab7
Author: Niels De Graef <nielsdegraef gmail com>
Date: Tue Aug 10 23:32:43 2021 +0200
pgp: Use symbolic icons for photo buttons
Also don't use GtkStock anymore.
pgp/seahorse-pgp-private-key-properties.ui | 40 ++++++++----------------------
pgp/seahorse-pgp-public-key-properties.ui | 6 +++--
2 files changed, 14 insertions(+), 32 deletions(-)
---
diff --git a/pgp/seahorse-pgp-private-key-properties.ui b/pgp/seahorse-pgp-private-key-properties.ui
index f65e83f7..7c2dba76 100644
--- a/pgp/seahorse-pgp-private-key-properties.ui
+++ b/pgp/seahorse-pgp-private-key-properties.ui
@@ -166,15 +166,11 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="action-name">props.photos.add</property>
- <child internal-child="accessible">
- <object class="AtkObject" id="owner-photo-add-button-atkobject">
- <property name="AtkObject::accessible-description"
translatable="yes">Add a photo to this key</property>
- </object>
- </child>
+ <property name="tooltip-text" translatable="yes">Add a photo to this
key</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
- <property name="stock">gtk-add</property>
+ <property name="icon-name">list-add-symbolic</property>
</object>
</child>
</object>
@@ -185,15 +181,11 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="action-name">props.photos.delete</property>
- <child internal-child="accessible">
- <object class="AtkObject" id="owner-photo-delete-button-atkobject">
- <property name="AtkObject::accessible-description"
translatable="yes">Remove this photo from this key</property>
- </object>
- </child>
+ <property name="tooltip-text" translatable="yes">Remove this photo from
this key</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
- <property name="stock">gtk-delete</property>
+ <property name="icon-name">list-remove-symbolic</property>
</object>
</child>
</object>
@@ -204,15 +196,11 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="action-name">props.photos.make-primary</property>
- <child internal-child="accessible">
- <object class="AtkObject" id="owner-photo-primary-button-atkobject">
- <property name="AtkObject::accessible-description"
translatable="yes">Make this photo the primary photo</property>
- </object>
- </child>
+ <property name="tooltip-text" translatable="yes">Make this photo the
primary photo</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
- <property name="stock">gtk-go-up</property>
+ <property name="icon-name">emblem-default-symbolic</property>
</object>
</child>
</object>
@@ -229,15 +217,11 @@
<property name="receives_default">False</property>
<property name="focus_on_click">False</property>
<property name="action-name">props.photos.previous</property>
- <child internal-child="accessible">
- <object class="AtkObject" id="owner-photo-previous-button-atkobject">
- <property name="AtkObject::accessible-description"
translatable="yes">Go to previous photo</property>
- </object>
- </child>
+ <property name="tooltip-text" translatable="yes">Go to previous
photo</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
- <property name="icon-name">go-previous</property>
+ <property name="icon-name">go-previous-symbolic</property>
</object>
</child>
</object>
@@ -248,15 +232,11 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="action-name">props.photos.next</property>
- <child internal-child="accessible">
- <object class="AtkObject" id="owner-photo-next-button-atkobject">
- <property name="AtkObject::accessible-description"
translatable="yes">Go to next photo</property>
- </object>
- </child>
+ <property name="tooltip-text" translatable="yes">Go to next
photo</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
- <property name="icon-name">go-next</property>
+ <property name="icon-name">go-next-symbolic</property>
</object>
</child>
</object>
diff --git a/pgp/seahorse-pgp-public-key-properties.ui b/pgp/seahorse-pgp-public-key-properties.ui
index 9b861ad9..8c0bdbb5 100644
--- a/pgp/seahorse-pgp-public-key-properties.ui
+++ b/pgp/seahorse-pgp-public-key-properties.ui
@@ -160,10 +160,11 @@
<property name="receives_default">False</property>
<property name="focus_on_click">False</property>
<property name="action-name">props.photos.previous</property>
+ <property name="tooltip-text" translatable="yes">Go to previous
photo</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
- <property name="icon-name">go-previous</property>
+ <property name="icon-name">go-previous-symbolic</property>
</object>
</child>
</object>
@@ -180,10 +181,11 @@
<property name="orientation">horizontal</property>
<property name="can_focus">False</property>
<property name="spacing">2</property>
+ <property name="tooltip-text" translatable="yes">Go to next
photo</property>
<child>
<object class="GtkImage">
<property name="visible">True</property>
- <property name="icon-name">go-next</property>
+ <property name="icon-name">go-next-symbolic</property>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]