Re: Small issue with Gtk2::GladeXML and glade-3 ... text markup not working

muppet wrote:

On May 18, 2006, at 9:39 PM, Daniel Kasak wrote:

I've stumbled across a small bug somewhere between Gtk2::GladeXML and glade-3.

When I try to use markup in a label ( eg to make the text bold ), I get the expected results both in the glade-3 builder, and in the glade-2 builder, but when I use Gtk2::GladeXML to construct a window based on a glade-3 xml file, the markup is not being used. I've attached a very small example, including a glade-2 project and a glade-3 project, and a script to create windows from each. On mine, the glade-3-generated window's label's text is not bold. But on the other hand, I don't see the text markup in the label either. Strange ...

All of the smarts of Gtk2::GladeXML are actually down in libglade, where the xml is parsed and handled. I don't think there's really anything we can do about that at the binding level.

Have you tried updating to a newer libglade?

I've got the latest already ( 2.5.1 ).
I'll submit a bug against it.
Thanks muppet.

Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasak nusconsulting com au

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]