Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_apps.c Log Message: and check if the exe realyl exists properly before allowing it in ibar/menus :) =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_apps.c,v retrieving revision 1.81 retrieving revision 1.82 diff -u -3 -r1.81 -r1.82 --- e_apps.c 28 Sep 2005 03:44:31 -0000 1.81 +++ e_apps.c 28 Sep 2005 05:57:14 -0000 1.82 @@ -1020,9 +1020,15 @@ int e_app_valid_exe_get(E_App *a) { + char *exe; + int ok = 1; + if (!a->exe) return 0; -// if (!ecore_file_app_installed(a->exe)) return 0; - return 1; + exe = ecore_file_app_exe_get(a->exe); + if (!exe) return 0; + ok = ecore_file_app_installed(exe); + free(exe); + return ok; } ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs