GNOME Bugzilla – Bug 112470
GnomeHRef button lacks blue color, underline
Last modified: 2004-12-22 21:47:04 UTC
When a GnomeHRef button is built by calling into libgnomeui directly, its label is blue and underlined to suggest its purpose as a hyperlink. However, when a GnomeHRef button is built by liglade, both the special color and underline are missing. Instead, one sees a plain black label (or whatever is the theme's default, I assume). libglade should build GnomeHRef buttons with the same styling they would get from libgnomeui: blue text foreground + underline.
Created attachment 16319 [details] glade file defining a GnomeHRef button
Created attachment 16320 [details] simple Python script illustrating buggy behavior
I've attached a pair of files which can be used, together, to demonstrate the bug. The Glade file defines one GnomeHRef button and leaves a blank space for a second button to be added later. The Python script loads up this Glade UI, and then creates and adds a second GnomeHRef button. One can easily see that the button created by libglade is missing its blue color and underline. I've used Python just because it's easy and expedient, but this is not a Python-specific problem. The same bug manifests when using libglade directly from C.
If you set the "text" property on the GnomeHRef instead of "label", it gets set up correctly. I think this is a glade bug, since it is setting the wrong property in the glade file.
Fixed in cvs.