[murrine] Fixes to scrollbar_trough in rgba



commit c7b4909dbafc87c0ecdf72804f711ab7ab4f2c00
Author: Andrea Cimitan <andrea cimitan gmail com>
Date:   Wed Aug 4 19:26:08 2010 +0100

    Fixes to scrollbar_trough in rgba

 src/murrine_draw_rgba.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/murrine_draw_rgba.c b/src/murrine_draw_rgba.c
index 05d20e8..874c390 100644
--- a/src/murrine_draw_rgba.c
+++ b/src/murrine_draw_rgba.c
@@ -1427,9 +1427,9 @@ murrine_rgba_draw_scrollbar_trough (cairo_t *cr,
 	MurrineRGB fill;
 
 	murrine_shade (&widget->parentbg,
-	               murrine_get_contrast (scrollbar->stepperstyle < 1 ? 0.82 : 0.75, widget->contrast),
+	               murrine_get_contrast (scrollbar->stepperstyle != 1 ? 0.82 : 0.75, widget->contrast),
 	               &border);
-	murrine_shade (&widget->parentbg, scrollbar->stepperstyle < 1 ? 0.95 : 1.065, &fill);
+	murrine_shade (&widget->parentbg, scrollbar->stepperstyle != 1 ? 0.95 : 1.065, &fill);
 
 	if (!scrollbar->horizontal)
 	{



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