Wrong value given to <requires lib="..."> with custom widget catalog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glade-3 (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Binary package hint: glade-3
Version 3.2.0
-----------------
When glade-3 is used with custom widgets, it tries to save the name of the lib containing the widgets in the .glade file, via <requires lib="...">, e.g.
<require lib="GtkMud"/>
The value for lib is being taken from the name attribute instead of the library attribute.
e.g. the catalog looks like :
<glade-catalog name="GtkMud" library=
...
</glade-catalog>
The correct value should of course be "gtkmud-widgets", so that libglade tries to open "gtkmud-
(gtkmud:1195): libglade-WARNING **: Could not load support for `GtkMud': libGtkMud.so: cannot open shared object file: No such file or directory
My 'work-around' is to link my app against a static version of my widget library - I get an error message, but can still create my widgets.
Changed in glade-3: | |
importance: | Undecided → Low |
Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the development release - Intrepid Ibex. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http:// www.ubuntu. com/testing/ . Thanks again and we appreciate your help.