diff --git a/src/Views/OperatingSystemView.vala b/src/Views/OperatingSystemView.vala index e42abd0d..ebfd28eb 100644 --- a/src/Views/OperatingSystemView.vala +++ b/src/Views/OperatingSystemView.vala @@ -373,10 +373,8 @@ public class About.OperatingSystemView : Gtk.Box { details.packages.length ).printf (details.packages.length); - foreach (unowned var info in details.info) { - if (info == SECURITY) { - updates_image.icon_name = "software-update-urgent"; - } + if (Pk.Info.SECURITY in details.info) { + updates_image.icon_name = "software-update-urgent"; } packages.splice (0, packages.get_n_items (), details.packages);