I sincerly doubt this will get any attention, but the linking of the
favorites to the Desktop is just double handling. The devices are just
fine in the Favorites box on EFM startup. But personally, I dont like
having those linked .desktop files on my desktop. Im sure some of you
might agree.
I know its the only way to get them to work as devices on the desktop
but a on/off switch for it needs to be made. I know ill be applying
this diff when I next compile from CVS.
Toma-


--- src/bin/e_fm_hal.c  2008-01-24 22:17:06.000000000 +0900
+++ e_fm_hal.c  2008-01-24 22:00:25.000000000 +0900
@@ -268,10 +268,10 @@
                v->udi);
        fclose(f);

-       snprintf(buf2, sizeof(buf2), "%s/Desktop/|%s_%d.desktop",
+/*     snprintf(buf2, sizeof(buf2), "%s/Desktop/|%s_%d.desktop",
                 e_user_homedir_get(), id, v->partition_number);
        ecore_file_symlink(buf, buf2);
-
+*/
        /* FIXME: manipulate icon directly */
        _e_fm2_file_force_update(buf);
        _e_fm2_file_force_update(buf2);
@@ -291,9 +291,9 @@

    if (!v->storage) return;
    id = ecore_file_file_get(v->storage->udi);
-   snprintf(buf, sizeof(buf) - 1, "%s/Desktop/|%s_%d.desktop",
+/*   snprintf(buf, sizeof(buf) - 1, "%s/Desktop/|%s_%d.desktop",
            e_user_homedir_get(), id, v->partition_number);
-
+*/
    ecore_file_unlink(buf);
    _e_fm2_file_force_update(buf);
    snprintf(buf, sizeof(buf) - 1, "%s/.e/e/fileman/favorites/|%s_%d.desktop",

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to