[gtk-engines] Draw scrollbar_trough



commit 8866e7f4e86e3eb5a0d69086b4c15c645951639a
Author: Andrea Cimitan <andrea cimitan gmail com>
Date:   Wed Oct 13 17:04:21 2010 +0200

    Draw scrollbar_trough

 engines/clearlooks/src/clearlooks_style.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/engines/clearlooks/src/clearlooks_style.c b/engines/clearlooks/src/clearlooks_style.c
index e315fa5..cb1a585 100644
--- a/engines/clearlooks/src/clearlooks_style.c
+++ b/engines/clearlooks/src/clearlooks_style.c
@@ -688,7 +688,7 @@ clearlooks_style_draw_box (DRAW_ARGS)
 		STYLE_FUNCTION(draw_progressbar_trough) (cr, colors, &params,
 		                                         x, y, width, height);
 	}
-	else if (DETAIL ("trough") && CHECK_HINT (GE_HINT_SCROLLBAR))
+	else if ((DETAIL ("trough-upper") || DETAIL ("trough-lower")) && CHECK_HINT (GE_HINT_SCROLLBAR))
 	{
 		WidgetParameters params;
 		ScrollBarParameters scrollbar;



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