GNOME Bugzilla – Bug 697961
Use gresources for .ui files
Last modified: 2013-04-14 21:25:31 UTC
Note this depends on bug 697960 for a fixed vala vapi
Created attachment 241463 [details] [review] Use gresources for .ui files
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Review of attachment 241463 [details] [review]: Thanks Paolo! I committed this with a workaround for the gtk_builder_add_objects_from_resource fix so we don't have to depend on a bleeding edge vala.
These days glade easily allows to right click on a container (e.g. GtkTable) and use it at toplevel. If we do that we can cleanup the ui files and then simply use builder.add_from_resource which does not have the vala issue... If you agree I can make a patch
Created attachment 241484 [details] [review] patch here is the patch as per the comment above. The changes to the ui files just consist of removing GtkWindow and unindenting (plus removing the obsolete gtk2 line at the top)
Review of attachment 241484 [details] [review]: Yay, much simpler :)