mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
app: Set styleclass on fallback app icons
For window backed apps, create_icon_texture() doesn't return an StIcon but a generic widget. Set an appropriate style class to make it easier to apply a specific style only to fallback icons. https://gitlab.gnome.org/GNOME/gnome-shell/issues/1027
This commit is contained in:
parent
d86d3bbe54
commit
4f65283f31
1 changed files with 2 additions and 0 deletions
|
|
@ -215,6 +215,8 @@ window_backed_app_get_icon (ShellApp *app,
|
|||
G_OBJECT (window),
|
||||
"icon",
|
||||
size);
|
||||
st_widget_add_style_class_name (widget, "fallback-app-icon");
|
||||
|
||||
return CLUTTER_ACTOR (widget);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue