-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 When I use Glade 3.2.2 to create a menu that includes a separator, and then use python's Glade interface (libglade 2.6.1, pygtk 2.10.4) to make it appear, the separator does not appear correctly. Instead of appearing as a line, the separator has a label. (I believe this problem will happen also with the libglade C interface, but I have not tested that. The bug is also present using the Ruby interface, so it's not a Python problem.)
I have traced the problem to some extra lines that appear in the Glade XML file defining the separator's "label" and "use_underline" properties. If both these lines are removed, then the separator appears correctly; however, the bug surfaces if either one is present. I'm not sure if the problem lies in Glade (putting in these incorrect properties) or in libglade (paying attention to incorrect properties). If this is not the correct forum for posting this bug, please point me to the correct forum. Thank you. I have attached a demo glade file and python script that demonstrate this problem. - -- Leon Barrett 1932 Hearst Ave. Apt. F Berkeley, CA 94709 [EMAIL PROTECTED] http://leon.barrettnexus.com/ home: 510-665-5428 cell: 217-257-4163 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGvQCD4aICOIymUsERAgemAJ9JMGRO+HNhqnFPz/EM2vaBSf8SKgCgoPFR JdzmFvRoXE13kM9rwtSrUEA= =DCIB -----END PGP SIGNATURE-----
test.glade
Description: application/glade
#!/usr/bin/env python
import gtk
import gtk.glade
xml=gtk.glade.XML('test.glade','window1')
window=xml.get_widget('window1')
window.show_all()
gtk.main()
test.glade.sig
Description: Binary data
test.py.sig
Description: Binary data
_______________________________________________ Glade-devel maillist - [email protected] http://lists.ximian.com/mailman/listinfo/glade-devel
