Enlightenment CVS committal Author : atmosphere Project : e17 Module : apps/entrance
Dir : e17/apps/entrance/src/client Modified Files: entrance_session.c Log Message: enable absolute pathing also =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/entrance_session.c,v retrieving revision 1.58 retrieving revision 1.59 diff -u -3 -r1.58 -r1.59 --- entrance_session.c 4 Dec 2004 03:13:55 -0000 1.58 +++ entrance_session.c 4 Dec 2004 04:25:03 -0000 1.59 @@ -344,11 +344,12 @@ char *shell = NULL; entrance_auth_setup_environment(e->auth); - if ((e->session) && (strlen(e->session) > 0)) { if (!strcmp(e->session, "default")) snprintf(buf, PATH_MAX, "%s", ENTRANCE_XSESSION); + else if(e->session[0] == '/') + snprintf(buf, PATH_MAX, "%s", e->session); else snprintf(buf, PATH_MAX, "%s %s", ENTRANCE_XSESSION, e->session); } @@ -357,9 +358,6 @@ snprintf(buf, PATH_MAX, "%s", ENTRANCE_XSESSION); } - /* If an absolute path was specified for the session, use that path - instead of passing the session name to Xsession */ - if (_entrance_test_en) snprintf(buf, PATH_MAX, "/usr/X11R6/bin/xterm"); ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs