[murrine] Updated xml schema file



commit ae39c5067ac08391dba21eb7cea9296c2541dc59
Author: Andrea Cimitan <andrea cimitan gmail com>
Date:   Tue May 25 20:02:33 2010 +0100

    Updated xml schema file

 schema/murrine.xml.in.in |   14 ++++++++++++++
 src/murrine_draw.c       |    8 ++++----
 2 files changed, 18 insertions(+), 4 deletions(-)
---
diff --git a/schema/murrine.xml.in.in b/schema/murrine.xml.in.in
index 742f65e..ee74ff4 100644
--- a/schema/murrine.xml.in.in
+++ b/schema/murrine.xml.in.in
@@ -70,6 +70,20 @@
 		<section>General</section>
 	</option>
 
+	<option type="enumeration" name="expanderstyle" default="0">
+		<_long_name>Expander Style</_long_name>
+		<section>General</section>
+		<enumeration value="0">
+			<label>Arrow</label>
+		</enumeration>
+		<enumeration value="1">
+			<label>Circle with plus and minus/label>
+		</enumeration>
+		<enumeration value="1">
+			<label>Button with plus and minus/label>
+		</enumeration>
+	</option>
+
 	<option type="color" name="focus_color" default="#000000">
 		<_long_name>Focus Color</_long_name>
 		<section>General</section>
diff --git a/src/murrine_draw.c b/src/murrine_draw.c
index 2d570a1..861f5b3 100644
--- a/src/murrine_draw.c
+++ b/src/murrine_draw.c
@@ -2769,9 +2769,9 @@ murrine_draw_expander_circle (cairo_t *cr,
 	cairo_arc (cr, expander_size/2.0, expander_size/2.0, expander_size/2.0, 0, G_PI*2);
 
 	if (expander->in_treeview)
-		murrine_set_color_rgb  (cr, &colors->text[widget->state_type]);
+		murrine_set_color_rgb (cr, &colors->text[widget->state_type]);
 	else
-		murrine_set_color_rgb  (cr, &colors->fg[widget->state_type]);
+		murrine_set_color_rgb (cr, &colors->fg[widget->state_type]);
 
 	cairo_fill (cr);
 
@@ -2796,9 +2796,9 @@ murrine_draw_expander_circle (cairo_t *cr,
 	}
 
 	if (expander->in_treeview)
-		murrine_set_color_rgb  (cr, &colors->base[widget->state_type]);
+		murrine_set_color_rgb (cr, &colors->base[widget->state_type]);
 	else
-		murrine_set_color_rgb  (cr, &colors->bg[widget->state_type]);
+		murrine_set_color_rgb (cr, &colors->bg[widget->state_type]);
 	cairo_stroke (cr);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]