diff options
| -rw-r--r-- | main/data/gresource.xml | 1 | ||||
| -rw-r--r-- | main/data/icons/scalable/actions/check-plain-symbolic.svg | 2 | ||||
| -rw-r--r-- | plugins/omemo/src/ui/encryption_preferences_entry.vala | 2 | ||||
| -rw-r--r-- | plugins/omemo/src/ui/manage_key_dialog.vala | 2 |
4 files changed, 5 insertions, 2 deletions
diff --git a/main/data/gresource.xml b/main/data/gresource.xml index 88858e13..5b9b0211 100644 --- a/main/data/gresource.xml +++ b/main/data/gresource.xml @@ -22,6 +22,7 @@ <file>file_send_overlay.ui</file> <file>global_search.ui</file> <file>gtk/help-overlay.ui</file> + <file>icons/scalable/actions/check-plain-symbolic.svg</file> <file>icons/scalable/actions/dino-emoticon-add-symbolic.svg</file> <file>icons/scalable/actions/dino-qr-code-symbolic.svg</file> <file>icons/scalable/actions/small-x-symbolic.svg</file> diff --git a/main/data/icons/scalable/actions/check-plain-symbolic.svg b/main/data/icons/scalable/actions/check-plain-symbolic.svg new file mode 100644 index 00000000..f04a8b1c --- /dev/null +++ b/main/data/icons/scalable/actions/check-plain-symbolic.svg @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><path d="m 13.753906 4.65625 c 0.175782 -0.199219 0.261719 -0.460938 0.246094 -0.722656 c -0.019531 -0.265625 -0.140625 -0.511719 -0.339844 -0.6875 c -0.199218 -0.175782 -0.460937 -0.265625 -0.726562 -0.246094 c -0.265625 0.015625 -0.511719 0.140625 -0.6875 0.339844 l -6.296875 7.195312 l -2.242188 -2.246094 c -0.390625 -0.390624 -1.023437 -0.390624 -1.414062 0 c -0.1875 0.1875 -0.292969 0.445313 -0.292969 0.710938 s 0.105469 0.519531 0.292969 0.707031 l 3 3 c 0.195312 0.195313 0.464843 0.300781 0.742187 0.292969 c 0.273438 -0.011719 0.535156 -0.132812 0.71875 -0.34375 z m 0 0" fill="#222222"/></svg> diff --git a/plugins/omemo/src/ui/encryption_preferences_entry.vala b/plugins/omemo/src/ui/encryption_preferences_entry.vala index 52436354..42b5d0aa 100644 --- a/plugins/omemo/src/ui/encryption_preferences_entry.vala +++ b/plugins/omemo/src/ui/encryption_preferences_entry.vala @@ -280,7 +280,7 @@ public class OmemoPreferencesWidget : Adw.PreferencesGroup { action_row.subtitle = fingerprint_markup(fingerprint_from_base64(device[plugin.db.identity_meta.identity_key_public_base64])); Button accept_button = new Button() { visible = true, valign = Align.CENTER, hexpand = true }; - accept_button.set_icon_name("emblem-ok-symbolic"); // using .image = sets .image-button. Together with .suggested/destructive action that breaks the button Adwaita + accept_button.set_icon_name("check-plain-symbolic"); // using .image = sets .image-button. Together with .suggested/destructive action that breaks the button Adwaita accept_button.add_css_class("suggested-action"); accept_button.tooltip_text = _("Accept key"); diff --git a/plugins/omemo/src/ui/manage_key_dialog.vala b/plugins/omemo/src/ui/manage_key_dialog.vala index 41c2321b..4809be17 100644 --- a/plugins/omemo/src/ui/manage_key_dialog.vala +++ b/plugins/omemo/src/ui/manage_key_dialog.vala @@ -155,7 +155,7 @@ public class ManageKeyDialog : Gtk.Dialog { return_to_main = true; current_response = TrustLevel.UNTRUSTED; } else if (row == accept_row) { - confirm_image.set_from_icon_name("emblem-ok-symbolic"); + confirm_image.set_from_icon_name("check-plain-symbolic"); confirm_title_label.label = _("Accept key"); confirm_desc_label.set_markup(_("You will be able to exchange encrypted messages with the device of %s that uses this key.").printf(@"<b>$(device[db.identity_meta.address_name])</b>")); manage_stack.set_visible_child_name("confirm"); |
