On Fri, 4 Feb 2011 13:29:20 +0100 Cedric BAIL <cedric.b...@free.fr> said:

> On Fri, Feb 4, 2011 at 12:03 PM, Vincent Torri <vto...@univ-evry.fr> wrote:
> > On Fri, 4 Feb 2011, Cedric BAIL wrote:
> >> On Mon, Jan 31, 2011 at 7:12 PM, Vincent Torri <vto...@univ-evry.fr> wrote:
> >>> in elementary, the edje externals search the icons in PACKAGE_DATA_DIR
> >>> (see elementary/src/edje_externals/private.h, at the end). Would it be
> >>> reasonnable to first check if the env var ELM_DATA_DIR is set and use its
> >>> value, and, if not, to use PACKAGE_DATA_DIR ? (Note that ELM_DATA_DIR is
> >>> already an env var that elementary is checking (see elm_main.c)
> >>
> >> I don't know if it's a good idea as external are not linked with
> >> Elementary at all. Would that mean that all external widget should put
> >> this data in the same place ? I just wanted to point to that, sorry if
> >> it doesn't help you much.
> >
> > another env var would be good as well, like EDJE_EXTERNAL_DATA_DIR or
> > something like that. The problem is just that the path is hardcoded
> >
> 
> Sounds better to me.

Actually there already is EDJE_MODULES_DIR... :) well at runtime. do you mean
at compile time to put the externals module in the right place?


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to