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
This commit is contained in:
David Walter Seikel 2006-10-04 06:17:00 +00:00
parent 64ab8b381d
commit ab5d404765
1 changed files with 3 additions and 0 deletions

View File

@ -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