Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_order.c 


Log Message:
Update against efreet.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_order.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- e_order.c   25 Mar 2007 10:16:05 -0000      1.7
+++ e_order.c   25 Mar 2007 10:52:00 -0000      1.8
@@ -185,18 +185,16 @@
    for (l = eo->desktops; l; l = l->next)
      {
        Efreet_Desktop *desktop;
-       char *id, *path;
+       char *id;
 
        /* TODO: This only allows us to save .desktop files which are in
         * the default paths. If it isn't, we should copy it to the users
         * application directory. Or store the full path in the .order file */
        desktop = l->data;
-       path = efreet_util_path_in_default("applications", desktop->orig_path);
-       if (!path) continue;
-       id = efreet_util_path_to_file_id(path, desktop->orig_path);
+       id = efreet_util_path_to_file_id(desktop->orig_path);
+       if (!id) continue;
        fprintf(f, "%s\n", id);
        free(id);
-       free(path);
      }
 
    fclose(f);



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to