murrine r138 - in trunk: . src



Author: acimitan
Date: Tue Feb 17 03:28:14 2009
New Revision: 138
URL: http://svn.gnome.org/viewvc/murrine?rev=138&view=rev

Log:
2009-02-17  Andrea Cimitan  <andrea cimitan gmail com>

	* src/murrine_draw.c (murrine_draw_scrollbar_slider):
	* src/murrine_draw_rgba.c (murrine_rgba_draw_scrollbar_slider):
	* src/murrine_style.c (murrine_style_draw_box):
	Align scrollbar's handles.


Modified:
   trunk/ChangeLog
   trunk/src/murrine_draw.c
   trunk/src/murrine_draw_rgba.c
   trunk/src/murrine_style.c

Modified: trunk/src/murrine_draw.c
==============================================================================
--- trunk/src/murrine_draw.c	(original)
+++ trunk/src/murrine_draw.c	Tue Feb 17 03:28:14 2009
@@ -1530,7 +1530,7 @@
 	/* Draw the handle */
 	if (scrollbar->style > 0 && scrollbar->style % 2 == 0)
 	{
-		double bar_x = width/2-4.5;
+		double bar_x = width/2-3.5;
 		int i;
 		for (i=0; i<3; i++)
 		{

Modified: trunk/src/murrine_draw_rgba.c
==============================================================================
--- trunk/src/murrine_draw_rgba.c	(original)
+++ trunk/src/murrine_draw_rgba.c	Tue Feb 17 03:28:14 2009
@@ -1331,7 +1331,7 @@
 	/* Draw the handle */
 	if (scrollbar->style > 0 && scrollbar->style % 2 == 0)
 	{
-		double bar_x = width/2-4.5;
+		double bar_x = width/2-3.5;
 		int i;
 		for (i=0; i<3; i++)
 		{

Modified: trunk/src/murrine_style.c
==============================================================================
--- trunk/src/murrine_style.c	(original)
+++ trunk/src/murrine_style.c	Tue Feb 17 03:28:14 2009
@@ -1262,6 +1262,7 @@
 	}
 	else
 	{
+		//printf( "draw_box: %s %s\n", detail, G_OBJECT_TYPE_NAME (widget));
 		GTK_STYLE_CLASS (murrine_style_parent_class)->draw_box (style, window, state_type, shadow_type, area,
 		                                                        widget, detail, x, y, width, height);
 	}



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