[crossfire] libglade2.0 client (Rev 7094) supports in-client selection of UI layout

Kevin R. Bulgrien kbulgrien at worldnet.att.net
Sat Sep 1 02:14:19 CDT 2007


FYI to any interested parties, the libglade2.0 client branch in SVN
now supports in-client selection of the Glade XML layout file to
use for the main window.

There are already various Glade XML layout files in SVN, so there
are actually layouts to pick from.

make install on the gtk-v2 client will install the layout files in
a glade-gtk2 subdirectory of the client data directory (alongside
where the theme files are stored).  The configuration popup dialog
is automatically populated to list the appropriate .glade files it
finds in this directory.

One can always use the -window_xml command-line option to override
saved settings.

An "improvement" is probably in order with respect to how saved
window positions are handled when a user switches from one layout
to another.  Some contributed ideas on how to do that are still
pending implementation, but the client is probably now worthy of
merging back into main development.  Comments welcome.

Kevin Bulgrien



More information about the crossfire mailing list