Fix for window borders to accept edje icons
If you have edje icons installed in your system (efreet smartly searches the candidate icon based in your Icon= entry), they works correctly in the menus, bar, etc... but doesn't works in the window borders icon, this is because the code try's to add it without dealing with the .edj extensions, probably attempting to load multiple image types and returning some errors/warning, resulting in an empty icon in the window borders Fixes T6723
This commit is contained in:
parent
5a682dc173
commit
0a5ff4bd5a
|
@ -4246,12 +4246,9 @@ e_border_icon_add(E_Border *bd,
|
||||||
{
|
{
|
||||||
if ((bd->desktop) && (bd->icon_preference != E_ICON_PREF_NETWM))
|
if ((bd->desktop) && (bd->icon_preference != E_ICON_PREF_NETWM))
|
||||||
{
|
{
|
||||||
o = e_icon_add(evas);
|
o = e_util_desktop_icon_add(bd->desktop, 64, evas);
|
||||||
if (o)
|
if (o)
|
||||||
{
|
return o;
|
||||||
e_icon_fdo_icon_set(o, bd->desktop->icon);
|
|
||||||
return o;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else if (bd->client.netwm.icons)
|
else if (bd->client.netwm.icons)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue