After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 112470 - GnomeHRef button lacks blue color, underline
GnomeHRef button lacks blue color, underline
Status: RESOLVED FIXED
Product: glade-legacy
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Damon Chaplin
Damon Chaplin
Depends on:
Blocks:
 
 
Reported: 2003-05-07 07:04 UTC by Ben Liblit
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
glade file defining a GnomeHRef button (1.20 KB, text/plain)
2003-05-07 07:06 UTC, Ben Liblit
Details
simple Python script illustrating buggy behavior (247 bytes, text/plain)
2003-05-07 07:06 UTC, Ben Liblit
Details

Description Ben Liblit 2003-05-07 07:04:12 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.
Comment 1 Ben Liblit 2003-05-07 07:06:18 UTC
Created attachment 16319 [details]
glade file defining a GnomeHRef button
Comment 2 Ben Liblit 2003-05-07 07:06:56 UTC
Created attachment 16320 [details]
simple Python script illustrating buggy behavior
Comment 3 Ben Liblit 2003-05-07 07:09:51 UTC
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.
Comment 4 James Henstridge 2004-11-08 14:30:40 UTC
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.
Comment 5 Damon Chaplin 2004-11-27 18:00:18 UTC
Fixed in cvs.