Hi Denis, Over the years I have been having problems generating source code glade, mainly because the feature is deprecated and not available in ubuntu.
Glade recommends to stop doing it, and instead move to gtk-builder. This way the XML file is loaded dynamically. I have done the necessary changes to your code to make it compatible with gtk-builder. The code should merge cleanly on your code: https://github.com/dmgerman/xournal/tree/glade The xournal.glade file is searched somehow similar to the pixmap files: 1. First in the directory of the binary 2. In the parent of the directory (in case it is run from ./src/, good for testing 3. In the data directory of xournal: PACKAGE_DATA_DIR it would be great if you can merge the changes. That way we can both work on the same tools for user interface. In the past I have been adding the widgets by hand to the .c file (as you have noticed) which means you have to redo them in the XML file. thanks! -- Daniel M. German "To live is to dream. To die is to awaken, Santana -> Please don't wake me up." http://turingmachine.org/ http://silvernegative.com/ dmg (at) uvic (dot) ca replace (at) with @ and (dot) with . ------------------------------------------------------------------------------ _______________________________________________ Xournal-devel mailing list Xournal-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xournal-devel