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 698289 - GdHeaderSimpleButton behaves differently from GtkButton when used with GtkButton::use_underline
GdHeaderSimpleButton behaves differently from GtkButton when used with GtkBut...
Status: RESOLVED WONTFIX
Product: libgd
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: libgd maintainer(s)
libgd maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-04-18 11:34 UTC by Christophe Fergeau
Modified: 2015-03-03 12:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Testcase showing the difference (954 bytes, text/x-csrc)
2013-04-18 11:34 UTC, Christophe Fergeau
Details

Description Christophe Fergeau 2013-04-18 11:34:56 UTC
Created attachment 241816 [details]
Testcase showing the difference 

When creating a GtkButton with a label containing a "_" and setting GtkButton::use_underline afterwards, one gets the expected result (the "_" disappears from the label, and is used as an underline).

When doing the same thing with a GdHeaderSimpleButton, the "_" still appears in the label. If the label is set again to the same value after setting use_underline, then it behaves as expected.
Comment 1 Debarshi Ray 2015-03-03 12:04:38 UTC
The buttons in libgd are not needed any more. They can be replaced with Gtk buttons now.