Re: location of an Epiphany extension...



On 1/15/09, Marimpis Avraam <makism venus cs teicrete gr> wrote:
>
>  Hello, i was wondering if and how is possible to determine whether
>  an extension is loaded from
> "/usr/lib/epiphany/extensions/" or
> "~/.gnome2/epiphany/extensions/".
>
>  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.


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