css: Add a -gtk-icon-theme CSS property

Desktop / GNOME / GTK - Benjamin Otte [redhat.com] - 26 January 2015 22:04 UTC

The property is useless to set (it only allows 'initial', 'inherit' and 'unset' as values), but it is used to track changes to the icon theme. And as such, it can ensure that widgets can track when they need to reload icons.

https://bugzilla.gnome.org/show_bug.cgi?id=743341

11d70f1 css: Add a -gtk-icon-theme CSS property
gtk/Makefile.am | 2 +
gtk/gtkcssiconthemevalue.c | 135 +++++++++++++++++++++++++++++++++++++
gtk/gtkcssiconthemevalueprivate.h | 32 +++++++++
gtk/gtkcssstylepropertyimpl.c | 19 ++++++
gtk/gtkcsstypesprivate.h | 1 +
5 files changed, 189 insertions(+)

Upstream: git.gnome.org


  • Share