List Info

Thread: bug: menu separators show up wrong




bug: menu separators show up wrong
country flaguser name
United States
2007-08-10 19:19:17
-----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
leonbarrettnexus.com
http://leon.barrettnexu
s.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/EM2vaBSf8SKgCg
oPFR
JdzmFvRoXE13kM9rwtSrUEA=
=DCIB
-----END PGP SIGNATURE-----


_______________________________________________
Glade-devel maillist  -  Glade-devellists.ximian.com

http://lists.ximian.com/mailman/listinfo/glade-devel

  
  
  
  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )