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
@ -1050,7 +1050,7 @@ class WindowIcon extends St.BoxLayout {
|
||||
_createAppIcon(app, size) {
|
||||
let appIcon = app
|
||||
? 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_align = appIcon.y_align = Clutter.ActorAlign.END;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user