Re: extension cannot find glade ui file



On Apr 1, 2010, at 10:40, Mjumbe Poe wrote:

> i'm trying to use a glade file from a seed extension for epiphany.  i
> put the glade file in the extensions directory, but when i call for
> it, i get the following error:
> 
> ** (epiphany:10702): WARNING **: Exception in closure (0x9fe3fd8) for
> signal handler (handler [anonymous]). Line 80 in
> /[HOME]/.gnome2/epiphany/extensions/browser-identification.js:
> GFileError Failed to open file 'browser-identification.glade': No such
> file or directory
> 
> i double checked the filename, just in case.  is there a different
> place the extension would be looking for the ui file?  the line the
> error references is pretty straightforward:

I'd guess it's looking in epiphany's current-working-directory, which is likely not what you want.

I hadn't considered this before; does anyone know how this worked in the Python days?

--Tim

> ...
> [79]    var builder = new Gtk.Builder()
> [80]    builder.add_from_file("browser-identification.glade");
> ...
> 
> any thoughts?
> thanks,
> - mjumbe
> _______________________________________________
> epiphany-list mailing list
> epiphany-list gnome org
> http://mail.gnome.org/mailman/listinfo/epiphany-list



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