Hi,
attached a little patch which corrects the "file://" handling in the
_e_fm2_icon_desktop_url_eval function. This avoids links like:
AdobeReader.desktop
-> ///home/thomas/.e/e/applications/all/AdobeReader.desktop
Bye,
Thomas
--
Stark, Thomas <[EMAIL PROTECTED]>
--- cvs/e17/apps/e/src/bin/e_fm.c 2007-02-04 14:31:34.000000000 +0100
+++ build/e17/apps/e/src/bin/e_fm.c 2007-02-04 18:05:20.000000000 +0100
@@ -2448,8 +2448,8 @@
char *path, *p;
if (strlen(val) < 6) return NULL;
- if (strncmp(val, "file:", 5)) return NULL;
- path = (char *)val + 5;
+ if (strncmp(val, "file://", 7)) return NULL;
+ path = (char *)val + 7;
p = e_util_shell_env_path_eval(path);
if (!p) return NULL;
s = evas_stringshare_add(p);
@@ -6058,7 +6058,7 @@
"Name=%s\n"
"X-Enlightenment-IconClass=%s\n"
"Comment=%s\n"
- "URL=file:/%s"
+ "URL=file://%s"
,
rem->label,
"fileman/hd",
-------------------------------------------------------------------------
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel