[gnome-control-center/wip/kate/lock-icon] panels: firmware-security: Fix incorrect secure boot icon
- From: Kate Hsuan <khsuan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/kate/lock-icon] panels: firmware-security: Fix incorrect secure boot icon
- Date: Wed, 10 Aug 2022 03:57:45 +0000 (UTC)
commit 57fb0e28ae84bc1dfd1d46b303513aa8b21f166b
Author: Kate Hsuan <hpa redhat com>
Date: Wed Aug 10 11:45:02 2022 +0800
panels: firmware-security: Fix incorrect secure boot icon
If Secure boot is enabled, secure_boot_icon should be channel-secure-symbolic.
Fixes: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1998
Signed-off-by: Kate Hsuan <hpa redhat com>
panels/firmware-security/cc-firmware-security-panel.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/panels/firmware-security/cc-firmware-security-panel.c
b/panels/firmware-security/cc-firmware-security-panel.c
index fccfadd79..28e7912d0 100644
--- a/panels/firmware-security/cc-firmware-security-panel.c
+++ b/panels/firmware-security/cc-firmware-security-panel.c
@@ -108,6 +108,7 @@ set_secure_boot_button_view (CcfirmwareSecurityPanel *self)
{
gtk_label_set_text (GTK_LABEL (self->secure_boot_label), _("Secure Boot is Active"));
gtk_label_set_text (GTK_LABEL (self->secure_boot_description), _("Protected against malicious software
when the device starts."));
+ gtk_image_set_from_icon_name (GTK_IMAGE (self->secure_boot_icon), "channel-secure-symbolic");
gtk_widget_add_css_class (self->secure_boot_icon, "good");
}
else if (self->secure_boot_state == SECURE_BOOT_STATE_PROBLEMS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]