From ab5d404765a293f23f1bb6a60b4ebdbd2c23d29e Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Wed, 4 Oct 2006 06:17:00 +0000 Subject: [PATCH] Its a hard icon if only the icon path is specified in the .desktop. Thanks to jcwong for reporting the bug that lead to finding this. SVN revision: 26342 --- legacy/ecore/src/lib/ecore_desktop/ecore_desktop.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/legacy/ecore/src/lib/ecore_desktop/ecore_desktop.c b/legacy/ecore/src/lib/ecore_desktop/ecore_desktop.c index 64f53fcf06..3e689a98ff 100644 --- a/legacy/ecore/src/lib/ecore_desktop/ecore_desktop.c +++ b/legacy/ecore/src/lib/ecore_desktop/ecore_desktop.c @@ -332,6 +332,9 @@ _ecore_desktop_get(const char *file, const char *lang) result->hard_icon = 1; } + if ((result->icon_theme == NULL) && (result->icon_path != NULL)) + result->hard_icon = 1; + /* icon/class is a list of standard icons from the theme that can override the icon created above. * Use (from .desktop) name.edj,exec,categories. It's case sensitive, the reccomendation is to lowercase it. * It should be most specific to most generic. firefox,browser,internet for instance