gnome-shell/js
Florian Müllner bd5162105e power: Make sure we fall back to the correct icon
Commit bd18313d12 changed to a new naming scheme for battery icons,
and used to old icon names as fallback-icon-name for compatibility
with older/other icon themes.

However that fallback code isn't working correctly, as GThemedIcon's
default fallbacks will transform a name of `battery-level-90-symbolic`
to a list of names:
 - `battery-level-90-symbolic`
 - `battery-level-symbolic`
 - `battery-symbolic`

The last one frequently exists, so instead of the intended fallback,
we end up with a generic battery icon.

Address this by specifying the icon as GIcon instead of an icon-name,
where we have more control over how the icon is resolved.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1442
2019-07-19 19:11:37 +00:00
..
extensionPrefs extensionPrefs: Inherit from Gtk.Application 2019-07-17 12:59:08 +00:00
gdm cleanup: Prefer template strings 2019-07-05 11:32:31 +00:00
misc cleanup: Use default parameters where appropriate 2019-07-12 18:54:49 +00:00
perf cleanup: Prefer template strings 2019-07-05 11:32:31 +00:00
portalHelper style: Stop using braces for single-line arrow functions 2019-07-02 12:17:46 +00:00
ui power: Make sure we fall back to the correct icon 2019-07-19 19:11:37 +00:00
js-resources.gresource.xml accessibility: Add pointer accessibility support 2019-06-06 09:13:29 +02:00
meson.build build: Use dedicated resources for helper programs 2018-08-14 17:28:04 +00:00
portal-resources.gresource.xml build: Include params.js in portal-helper gresources 2018-10-23 15:38:31 +00:00
prefs-resources.gresource.xml build: Use dedicated resources for helper programs 2018-08-14 17:28:04 +00:00