Glade woes, was: Purging the F13 orphans

Tim Waugh twaugh at redhat.com
Tue Feb 9 16:31:02 UTC 2010


On Tue, 2010-02-09 at 17:13 +0100, Nils Philippsen wrote:
> - I understand that upstream is working on glade3 and ignoring glade2,
> but this tool needs to stay until glade3 properly understands legacy
> glade2-generated files, doesn't have obvious problems like
> https://bugzilla.redhat.com/show_bug.cgi?id=519426 "Wrong orientation
> default for VBox". AFAIK this is essential so that people can sensibly
> convert their existing glade projects to gtkbuilder. Having to do UIs
> from scratch is not a viable option. If there are other, more robust
> glade2 to gtkbuilder converters I'd like to know about it.

FWIW, when I made the switch to glade-3 for system-config-printer I bit
the bullet and explicitly set the orientation property for every VBox I
had in the UI.  It isn't absolutely necessary at runtime, but it is
essential if you want glade-3 to show the interface as it will actually
appear.

That wasn't all that was necessary though:

 * all GtkSpinButtons needed explicit GtkAdjustments added; 

 * GtkComboBoxEntry widgets needed to have their default text columns
set;

 * and GtkComboBox widgets needed to have models explicitly set --
meaning that any translations previously in the glade files had to be
moved elsewhere.

Tim.
*/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20100209/5bb4142f/attachment.bin 


More information about the devel mailing list