summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanatermesis <thanatermesis@gmail.com>2018-02-22 19:48:04 +0100
committerThanatermesis <thanatermesis@gmail.com>2018-02-22 19:48:04 +0100
commit0a5ff4bd5adea88f70347354eabd93fdad63eed6 (patch)
tree63aa1f1eaa6ee94031915cc147ffc93b82159118
parent5a682dc173897076d752706d6638f05b3f1ad29b (diff)
Fix for window borders to accept edje iconsenlightenment-0.17
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
-rw-r--r--src/bin/e_border.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/bin/e_border.c b/src/bin/e_border.c
index e7363fe4b..740033791 100644
--- a/src/bin/e_border.c
+++ b/src/bin/e_border.c
@@ -4246,12 +4246,9 @@ e_border_icon_add(E_Border *bd,
4246 { 4246 {
4247 if ((bd->desktop) && (bd->icon_preference != E_ICON_PREF_NETWM)) 4247 if ((bd->desktop) && (bd->icon_preference != E_ICON_PREF_NETWM))
4248 { 4248 {
4249 o = e_icon_add(evas); 4249 o = e_util_desktop_icon_add(bd->desktop, 64, evas);
4250 if (o) 4250 if (o)
4251 { 4251 return o;
4252 e_icon_fdo_icon_set(o, bd->desktop->icon);
4253 return o;
4254 }
4255 } 4252 }
4256 else if (bd->client.netwm.icons) 4253 else if (bd->client.netwm.icons)
4257 { 4254 {