Re: location of an Epiphany extension...



2009-01-15 klockan 10:40 skrev Maciej Katafiasz:
> On Thu, Jan 15, 2009 at 10:04 AM, Diego Escalante Urrelo
> <diegoe gnome org> wrote:
> >>  I`m asking this, because i`m writing a python extension that depends
> >>  on a Glade file. I could just use some "try-except" block, to check the
> >> existence of that Glade file, but maybe there`s an "official way"-or
> >> something?
> > You could try checking if the file exists in ~, if not then load it
> > from /usr/lib/; there's no official way that I know of.
> This has been asked before. It'd be good to file a bug against epi's
> extension API to have a non-hacky way to do it.

Perhaps in the mean time fiddling with __FILE__ might work?

    — Wouter

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]