Enlightenment CVS committal

Author  : xcomputerman
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance/src/client


Modified Files:
        entrance_config.c 


Log Message:
Begone, foul bugs.

===================================================================
RCS file: /cvs/e/e17/apps/entrance/src/client/entrance_config.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- entrance_config.c   26 Oct 2006 08:05:55 -0000      1.41
+++ entrance_config.c   26 Oct 2006 08:14:20 -0000      1.42
@@ -481,7 +481,9 @@
    const char *filename = list_data;
    struct _Entrance_Config_And_Path *ep = data;
    Entrance_Config *e;
-   Ecore_List *commands;
+   Entrance_X_Session *exs = NULL;
+   char *command = NULL;
+
 
    if (!filename)
       return;
@@ -499,21 +501,9 @@
    if (!ed)
       return;
 
-   Entrance_X_Session *exs = NULL;
-   char *command;
-
    /* Get the full command. */
    /* We are not passing a list of files, so we only expect one command. */
-   commands = ecore_desktop_get_command(ed, NULL, 1);
-   if (commands)
-     {
-        char *temp;
-
-       temp = ecore_list_first(commands);
-       if (temp)
-          command = strdup(temp);
-       ecore_list_destroy(commands);
-     }
+   command = ecore_desktop_get_command(ed, NULL, 1);
    if ((exs = entrance_x_session_new(ed->name, ed->icon, command)))
    {
       /* Sessions found earlier in the FDO search sequence override those



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

Reply via email to