okay,

made a small patch with some help from the IRC channel.

Looks like the tabs are copied as spaces.

--
Mark-Willem Jansen

Index: src/bin/e_exec.c
===================================================================
--- src/bin/e_exec.c    (revision 56278)
+++ src/bin/e_exec.c    (working copy)
@@ -210,7 +210,18 @@
 //                ECORE_EXE_PIPE_AUTO | ECORE_EXE_PIPE_READ | 
ECORE_EXE_PIPE_ERROR |
 //                ECORE_EXE_PIPE_READ_LINE_BUFFERED | 
ECORE_EXE_PIPE_ERROR_LINE_BUFFERED,
 //                inst);
-   exe = ecore_exe_run(exec, inst);
+   if (desktop->path)
+     {
+    if (!getcwd(buf, sizeof(buf))) return NULL;
+    if (chdir(desktop->path)) return NULL;
+    exe = ecore_exe_run(exec, inst);
+    if (chdir(buf)) return NULL;
+     }
+   else
+     {
+    exe = ecore_exe_run(exec, inst);
+     }
+
    e_util_library_path_restore();
    if (penv_display)
      {


----------------------------------------
> Date: Mon, 9 May 2011 22:00:01 +0200
> From: s...@tango.flipp.net
> To: enlightenment-devel@lists.sourceforge.net
> Subject: Re: [E-devel] Path key in Desktop entry file not used‏
>
> On 05/09/2011 12:39 PM, Mark-Willem Jansen wrote:
> >
> > Hi,
> >
> > Do I still need to file a bug on the tracker system, or is this entry in 
> > the mailing
> > list enough.
>
> It's enough here.
>
> S.
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today. Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
                                          

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to