If you use quickly to create a project and try to open the .ui files with Glade without using the "quickly design" command.
You may get an error like this:
To set the search catalog used by Glade, use this:
Replacing "./data/ui " with the path that contains the Glade catalog files.
Note: for gtk2 projects use "GLADE_CATALOG_PATH=./data/ui glade-gtk2"
References:
You may get an error like this:
To set the search catalog used by Glade, use this:
GLADE_CATALOG_SEARCH_PATH=./data/ui glade
Replacing "./data/ui " with the path that contains the Glade catalog files.
Note: for gtk2 projects use "GLADE_CATALOG_PATH=./data/ui glade-gtk2"
References:
- Quickly source file design.py located at /usr/share/quickly/templates/ubuntu-application
This also fixes a problem with Ubuntu quickly. The same environment variable needs to be set up to allow the "quickly design" to open. If that was in any of the instructions originally, I missed it. I'm pretty sure I didn't do that originally.
ReplyDeleteWhen trying to start the "quickly design", the glade gui would flash up, then quit. With --verbose set, I would get messages like:
(glade:20725): GladeUI-CRITICAL **: glade_widget_set_object: assertion 'new_object == NULL || g_type_is_a (G_OBJECT_TYPE (new_object), glade_widget_adaptor_get_object_type (gwidget->priv->adaptor))' failed
(glade:20725): GladeUI-CRITICAL **: glade_widget_adaptor_create_internal: assertion 'GLADE_IS_WIDGET (parent)' failed
.... etc.
Thanks!
madGambol