[murrine] Removed border_shade from the xml schema file



commit d2eca449aad61ea69027076ded105d3b7aa17564
Author: Andrea Cimitan <andrea cimitan gmail com>
Date:   Mon Oct 26 21:10:07 2009 +0100

    Removed border_shade from the xml schema file

 schema/murrine.xml.in.in |    9 ---------
 src/murrine_draw_rgba.c  |    2 +-
 2 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/schema/murrine.xml.in.in b/schema/murrine.xml.in.in
index f7f90d0..d9a3c75 100644
--- a/schema/murrine.xml.in.in
+++ b/schema/murrine.xml.in.in
@@ -16,15 +16,6 @@
 		<section>General</section>
 	</option>
 
-	<option type="real" name="border_shade" default="1.0">
-		<_long_name>Border Shade</_long_name>
-		<_description>Increse/Decrease the border shade</_description>
-		<section>General</section>
-		<minimum>0</minimum>
-		<maximum>2</maximum>
-		<precision>2</precision>
-	</option>
-
 	<option type="boolean" name="colorize_scrollbar" default="TRUE">
 		<_long_name>Colorize scrollbar</_long_name>
 		<_description>Use colorized scrollbars</_description>
diff --git a/src/murrine_draw_rgba.c b/src/murrine_draw_rgba.c
index f70ba40..ac74839 100644
--- a/src/murrine_draw_rgba.c
+++ b/src/murrine_draw_rgba.c
@@ -392,7 +392,7 @@ murrine_rgba_draw_scale_trough (cairo_t *cr,
 	cairo_translate (cr, translate_x+0.5, translate_y+0.5);
 
 	if (!slider->fill_level && widget->reliefstyle != 0)
-		murrine_draw_inset (cr, &widget->parentbg, 0, 0, trough_width, trough_height, 0, 0);
+		murrine_draw_inset (cr, &widget->parentbg, 0, 0, trough_width, trough_height, widget->roundness, widget->corners);
 
 	if (!slider->lower && !slider->fill_level)
 	{



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