mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
altTab: Use more appropriate fallback icon
'icon-missing' is not an actual icon name. It somewhat works because an invalid icon name will fallback to the correct 'image-missing', however for apps the generic app icon is a better fallback. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3248>
This commit is contained in:
parent
4acb547a8f
commit
817ae50692
1 changed files with 1 additions and 1 deletions
|
|
@ -1050,7 +1050,7 @@ class WindowIcon extends St.BoxLayout {
|
||||||
_createAppIcon(app, size) {
|
_createAppIcon(app, size) {
|
||||||
let appIcon = app
|
let appIcon = app
|
||||||
? app.create_icon_texture(size)
|
? app.create_icon_texture(size)
|
||||||
: new St.Icon({icon_name: 'icon-missing', icon_size: size});
|
: new St.Icon({icon_name: 'application-x-executable', icon_size: size});
|
||||||
appIcon.x_expand = appIcon.y_expand = true;
|
appIcon.x_expand = appIcon.y_expand = true;
|
||||||
appIcon.x_align = appIcon.y_align = Clutter.ActorAlign.END;
|
appIcon.x_align = appIcon.y_align = Clutter.ActorAlign.END;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue