gnome-software:1164-update-fatigue-only-urgent-updates-are-urgent

Last commit made on 2021-03-11
Get this branch:
git clone -b 1164-update-fatigue-only-urgent-updates-are-urgent https://git.launchpad.net/gnome-software

Branch merges

Branch information

Name:
1164-update-fatigue-only-urgent-updates-are-urgent
Repository:
lp:gnome-software

Recent commits

205e2dc... by Milan Crha <email address hidden>

gs-update-monitor: Consider only high urgency updates as important

Not every security update is important, those important should be
marked as such in the update, thus when there are released security
updates often the update monitor would notify about them sooner
than in 14 days interval.

Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1164

8afd3a4... by Danial Behzadi

Update Persian translation

5db3df0... by Philip Withnall

Merge branch '1147-icons-refactoring' into 'master'

Refactor icon/pixbuf handling

Closes #1147

See merge request GNOME/gnome-software!644

e7cfa82... by Philip Withnall <email address hidden>

gs-details-page: Allow fallback sizes for icon

When running on hi-DPI screens, some apps don’t have a suitable icon to
display at 96px at scale factor 2 (i.e. 192px). Rather than displaying
a generic icon, fall back to 64px at 2× scale (i.e. 128px), which all
apps have.

Spotted by Milan Crha.

Signed-off-by: Philip Withnall <email address hidden>

Helps: #1147

296fb05... by Philip Withnall <email address hidden>

appstream: Fix some icon leaks in gs-appstream.c

These were accidentally introduced in commit f2a7c88bef.

Signed-off-by: Philip Withnall <email address hidden>

5c8987f... by Philip Withnall <email address hidden>

tests: Test key colours using a different test app

Zeus doesn’t have an icon set; Chiron does. Previously, the tests only
passed because the old key-colours implementation set a fallback colour
ramp. The new code doesn’t do that (callers can provide their own
fallbacks if they want), so the test fails.

Signed-off-by: Philip Withnall <email address hidden>

c58cd3a... by Philip Withnall <email address hidden>

gs-flatpak: Export both sizes of icons from flatpak bundles

Flatpak currently supports exactly 64px and 128px icons in bundles, and
no other sizes. Add both of them to the `GsApp` (if available), so that
the icon choosing code in `GsApp` has more source material to choose
from.

This means that `GsApp` will more likely be able to choose an icon at a
requested size without having to scale any pixbufs.

Signed-off-by: Philip Withnall <email address hidden>

Helps: #1147

8fecc6e... by Philip Withnall <email address hidden>

gs-overview-page: Hide apps with low-res icons from featured carousel

Otherwise the carousel will render them without an icon, which looks
weird.

Signed-off-by: Philip Withnall <email address hidden>

Helps: #1147

c605dfb... by Philip Withnall <email address hidden>

gs-overview-page: Tweak empty page handling

It’s possible for all the featured apps to be filtered out, which would
result in the carousel being hidden, but `priv->empty` still being set
to false. Avoid that.

Signed-off-by: Philip Withnall <email address hidden>

52fe596... by Philip Withnall <email address hidden>

lib: Drop gs_app_load_pixbuf() and use GIcons instead

This simplifies the code a bit, but significantly allows for
`GtkImage` to automatically reload icons if the icon theme changes, as
it now has access to icon names (from the `GIcon`) rather than just
already-loaded pixel data (in a `GdkPixbuf`). It also means the RTL
variant of an icon can be loaded if in an RTL locale (and if the variant
exists; I can find no apps which currently take advantage of this
functionality).

This doesn’t matter for most application icons, but could do if an icon
theme distributed overridden versions of popular app icons.

Signed-off-by: Philip Withnall <email address hidden>

Helps: #1147