aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThanatermesis <thanatermesis@gmail.com>2018-02-22 19:35:38 +0100
committerThanatermesis <thanatermesis@gmail.com>2018-02-22 19:35:38 +0100
commitca99207bdc4ae76b02cd8ce6e5a953c17c9d9d0e (patch)
tree8c29ba6a05cb15a6ab574994e749514d91401a74
parenttoggle sandbox gadget visibility during desklock for non-desklock gadgets (diff)
downloadenlightenment-ca99207bdc4ae76b02cd8ce6e5a953c17c9d9d0e.tar.gz
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 https://phab.enlightenment.org/T6723
-rw-r--r--src/bin/e_client.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index 675ba5688..464f7f9bd 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -5144,12 +5144,9 @@ e_client_icon_add(E_Client *ec, Evas *evas)
{
if ((ec->desktop) && (ec->icon_preference != E_ICON_PREF_NETWM))
{
- o = e_icon_add(evas);
+ o = e_util_desktop_icon_add(ec->desktop, 64, evas);
if (o)
- {
- e_icon_fdo_icon_set(o, ec->desktop->icon);
- return o;
- }
+ return o;
}
#ifndef HAVE_WAYLAND_ONLY
else if (ec->netwm.icons)