[gtk+/icon-shadow: 1/12] styleproperties: add an 'icon-shadow' style property
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/icon-shadow: 1/12] styleproperties: add an 'icon-shadow' style property
- Date: Mon, 6 Jun 2011 15:49:15 +0000 (UTC)
commit d418f4940072705e9ec8e87100644fd75a5a0498
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri May 20 23:48:36 2011 -0400
styleproperties: add an 'icon-shadow' style property
It's a custom property with the same semantics of text-shadow, which
works on icons and icon-like UI elements, such as spinners, arrows and
separators.
gtk/gtkstyleproperty.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstyleproperty.c b/gtk/gtkstyleproperty.c
index 7b4e092..580d64b 100644
--- a/gtk/gtkstyleproperty.c
+++ b/gtk/gtkstyleproperty.c
@@ -1969,6 +1969,18 @@ gtk_style_property_init (void)
NULL,
NULL);
+ _gtk_style_property_register (g_param_spec_boxed ("icon-shadow",
+ "Icon shadow",
+ "Icon shadow",
+ GTK_TYPE_SHADOW, 0),
+ GTK_STYLE_PROPERTY_INHERIT,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL,
+ NULL);
+
gtk_style_properties_register_property (NULL,
g_param_spec_int ("margin-top",
"margin top",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]