summaryrefslogtreecommitdiff
path: root/gtk/gtkcssprovider.c
diff options
context:
space:
mode:
authorP. F. Chimento <philip.chimento@gmail.com>2013-04-17 10:33:43 +0200
committerMatthias Clasen <mclasen@redhat.com>2013-04-19 10:19:25 -0400
commit29c7562ca7d168ab05ef1d186bdad5d0d58e0c33 (patch)
tree75563155a3f638d591be7637ca0aa2e7986e957b /gtk/gtkcssprovider.c
parent163542f545138ad864c91b8cae93a8399c0c3d0d (diff)
downloadgtk+-29c7562ca7d168ab05ef1d186bdad5d0d58e0c33.tar.gz
doc: Documented icon-shadow CSS property
The docs say that text-shadow applies a drop shadow to both text and icons, but icons need to use the icon-shadow property. https://bugzilla.gnome.org/show_bug.cgi?id=698181
Diffstat (limited to 'gtk/gtkcssprovider.c')
-rw-r--r--gtk/gtkcssprovider.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 6b9b1c7245..a480dfb97a 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -533,11 +533,15 @@
* the GTK+ theming engine.
* </para>
* <para>
+ * To set a shadow on an icon, use the icon-shadow property instead,
+ * with the same syntax.
+ * </para>
+ * <para>
* To set multiple shadows on an element, you can specify a comma-separated list
- * of shadow elements in the text-shadow property. Shadows are always rendered
- * front-back, i.e. the first shadow specified is on top of the others. Shadows
- * can thus overlay each other, but they can never overlay the text itself,
- * which is always rendered on top of the shadow layer.
+ * of shadow elements in the text-shadow or icon-shadow property. Shadows are
+ * always rendered front-back, i.e. the first shadow specified is on top of the
+ * others. Shadows can thus overlay each other, but they can never overlay the
+ * text or icon itself, which is always rendered on top of the shadow layer.
* </para>
* </refsect2>
* <refsect2>