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 591698 - Gtk should provide a monochromatic "glyph" blending mode for icons
Gtk should provide a monochromatic "glyph" blending mode for icons
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.19.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2009-08-13 14:40 UTC by Patryk Zawadzki
Modified: 2010-07-10 01:59 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28



Description Patryk Zawadzki 2009-08-13 14:40:04 UTC
GtkStatusIcon could provide a blending mode where the provided graphic is used as a mask to draw with current text color.

We do a very similar thing in Cheese (src/cheese-countdown.c)

Then we'd be able to use simpler glyphs for notifications, similarly to what OS X and Windows 7 do.

Currently even a workaround is not possible because of bug #511919.
Comment 1 Matthias Clasen 2009-12-02 14:39:30 UTC
Workarounds are certainly possible. You can take a pixbuf from the icon theme, munge it, and put the munged pixbuf into the statusicon
Comment 2 Patryk Zawadzki 2009-12-02 14:46:05 UTC
Sure but that's an even uglier workaround (requires more work than what we do in cheese). It would be much nicer if you could specify the desired behavior at either builder/glade level.

It's not limited to GtkStatusIcon - jimmac proposed doing the same for menus and buttons.
Comment 3 Matthias Clasen 2010-07-10 01:59:18 UTC
See the recent addition of 'symbolic' icon support