gtk-engines r1251 - in trunk: . engines/clearlooks/src



Author: bberg
Date: Fri Sep  5 13:15:24 2008
New Revision: 1251
URL: http://svn.gnome.org/viewvc/gtk-engines?rev=1251&view=rev

Log:
2008-09-05  Benjamin Berg  <benjamin sipsolutions net>

	* engines/clearlooks/src/clearlooks_draw.c:
	(clearlooks_draw_spinbutton):
	Made the horizontal line in the spinbutton smaller.


Modified:
   trunk/ChangeLog
   trunk/engines/clearlooks/src/clearlooks_draw.c

Modified: trunk/engines/clearlooks/src/clearlooks_draw.c
==============================================================================
--- trunk/engines/clearlooks/src/clearlooks_draw.c	(original)
+++ trunk/engines/clearlooks/src/clearlooks_draw.c	Fri Sep  5 13:15:24 2008
@@ -479,13 +479,13 @@
 
 	cairo_translate (cr, x, y);
 
-	cairo_move_to (cr, params->xthickness - 0.5,       (height/2) + 0.5);
-	cairo_line_to (cr, width-params->xthickness + 0.5, (height/2) + 0.5);
+	cairo_move_to (cr, params->xthickness + 0.5,       (height/2) + 0.5);
+	cairo_line_to (cr, width-params->xthickness - 0.5, (height/2) + 0.5);
 	ge_cairo_set_color (cr, border);
 	cairo_stroke (cr);
 
-	cairo_move_to (cr, params->xthickness - 0.5,       (height/2)+1.5);
-	cairo_line_to (cr, width-params->xthickness + 0.5, (height/2)+1.5);
+	cairo_move_to (cr, params->xthickness + 0.5,       (height/2)+1.5);
+	cairo_line_to (cr, width-params->xthickness - 0.5, (height/2)+1.5);
 	ge_cairo_set_color (cr, &hilight);
 	cairo_stroke (cr);
 }



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