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 648989 - GtkWidget:link-color and GdkWidget:visited-link-color needs RGBA versions
GtkWidget:link-color and GdkWidget:visited-link-color needs RGBA versions
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: Other
3.0.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 636695
 
 
Reported: 2011-04-29 22:42 UTC by Javier Jardón (IRC: jjardon)
Modified: 2014-03-19 18:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gtklinkbutton: Use GdkRGBA instead GdkColor internally (2.60 KB, patch)
2011-06-06 17:03 UTC, Javier Jardón (IRC: jjardon)
none Details | Review

Description Javier Jardón (IRC: jjardon) 2011-04-29 22:42:06 UTC
I guess that it should have *-rgba versions too, as has been done for other properties
Comment 1 Matthias Clasen 2011-04-29 23:54:54 UTC
Looking at what we've done for cursor-color and secondary-cursor-color, the style properties haven't actually changed type, but internally, GtkStyleContext and GtkModifierStyle treat these as GdkRGBA. We should do the same thing for link-color and visited-link-color
Comment 2 Javier Jardón (IRC: jjardon) 2011-05-10 21:46:48 UTC
Do you mean that internally it should not use GdkColor beyond the getter/setter? If we don't add a -rgba option we don't really give an alternative for people using this property wanting to get rid of the deprecation warnings so I'm assuming you want to add that as well?
Comment 3 Javier Jardón (IRC: jjardon) 2011-06-06 17:03:36 UTC
Created attachment 189341 [details] [review]
gtklinkbutton: Use GdkRGBA instead GdkColor internally
Comment 4 Matthias Clasen 2014-03-17 19:02:55 UTC
link styling is done with state flags now.
Comment 5 Javier Jardón (IRC: jjardon) 2014-03-19 18:06:11 UTC
For reference, obsoleted with the patches of https://bugzilla.gnome.org/show_bug.cgi?id=709629