Skip to content

Commit

Permalink
Be smart
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Jan 29, 2024
1 parent 35f7b08 commit 96b9017
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Views/OperatingSystemView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 96b9017

Please sign in to comment.