diff --git a/modules/computer.c b/modules/computer.c index 5db291b23..b5c4401e0 100644 --- a/modules/computer.c +++ b/modules/computer.c @@ -621,7 +621,14 @@ gchar *callback_security(void) struct InfoField field = info_field(vuln, idle_free(contents)); if (g_strstr_len(contents, -1, "Vulnerable") || g_strstr_len(contents, -1, "vulnerable")) - field = info_field_with_icon(field, "dialog-warning.png"); + field = info_field_with_icon(field, "light_red.png"); + + if (g_str_has_prefix(contents, "Mitigation:") || + g_str_has_prefix(contents, "mitigation:")) + field = info_field_with_icon(field, "light_yellow.png"); + + if (g_strstr_len(contents, -1, "Not affected") ) + field = info_field_with_icon(field, "light_green.png"); info_group_add_fields(vulns, field, info_field_last()); } diff --git a/pixmaps/light_green.png b/pixmaps/light_green.png new file mode 100644 index 000000000..69fe30e92 Binary files /dev/null and b/pixmaps/light_green.png differ diff --git a/pixmaps/light_red.png b/pixmaps/light_red.png new file mode 100644 index 000000000..b4aeb92d6 Binary files /dev/null and b/pixmaps/light_red.png differ diff --git a/pixmaps/light_yellow.png b/pixmaps/light_yellow.png new file mode 100644 index 000000000..b3db45e00 Binary files /dev/null and b/pixmaps/light_yellow.png differ diff --git a/shell/callbacks.c b/shell/callbacks.c index c6cc743fe..66d49bd0e 100644 --- a/shell/callbacks.c +++ b/shell/callbacks.c @@ -181,6 +181,7 @@ void cb_about() _("Tango Project"), _("The GNOME Project"), _("VMWare, Inc. (USB icon from VMWare Workstation 6)"), + _("Roundicons (https://roundicons.com)"), NULL };