Enlightenment CVS committal Author : onefang Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_apps.c Log Message: ecore_desktop_get_command can now return a list of commands if it needs to. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_apps.c,v retrieving revision 1.239 retrieving revision 1.240 diff -u -3 -r1.239 -r1.240 --- e_apps.c 24 Oct 2006 12:28:13 -0000 1.239 +++ e_apps.c 25 Oct 2006 10:23:33 -0000 1.240 @@ -649,7 +649,21 @@ original = a; if (a->desktop) - command = ecore_desktop_get_command(a->desktop, NULL, 1); + { + Ecore_List *commands; + + /* We are not passing a list of files, so we only expect one command. */ + commands = ecore_desktop_get_command(a->desktop, NULL, 1); + if (commands) + { + char *temp; + + temp = ecore_list_first(commands); + if (temp) + command = strdup(temp); + ecore_list_destroy(commands); + } + } else command = strdup(a->exe); if (!command) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs