[Glade-devel] bug: menu separators show up wrong



-----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
leon at barrettnexus.com
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-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.glade
Type: application/x-glade
Size: 5331 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/glade-devel/attachments/20070810/d5830120/attachment-0001.bin 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test.py
Url: http://lists.ximian.com/pipermail/glade-devel/attachments/20070810/d5830120/attachment-0001.pl 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.glade.sig
Type: application/octet-stream
Size: 65 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/glade-devel/attachments/20070810/d5830120/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.py.sig
Type: application/octet-stream
Size: 65 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/glade-devel/attachments/20070810/d5830120/attachment-0003.obj 




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