]> Pileus Git - ~andy/gtk/commit
color-swatch: allow styling the "active badge"
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 8 Feb 2012 21:30:29 +0000 (16:30 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 14 Feb 2012 21:36:57 +0000 (16:36 -0500)
commit83de34882b6bfcdb9177d3a10b03f03c77adfec5
treeb60c640a0f753729cdef5b3af722c52018894619
parent1ccedc5fa4e0fcb53a6dfe100a92071ce1d35ea1
color-swatch: allow styling the "active badge"

Instead of calling gtk_render_check() there, just render a symbolic
icon, falling back to a built-in one if the icon is not available.
Also, add a style class for the active badge on the swatch:
"color-active-badge".
gtk/gtkcolorswatch.c