murrine r172 - in trunk: . src



Author: acimitan
Date: Fri Apr  3 02:12:22 2009
New Revision: 172
URL: http://svn.gnome.org/viewvc/murrine?rev=172&view=rev

Log:
2009-04-03  Andrea Cimitan  <andrea cimitan gmail com>

	* src/murrine_style.c (murrine_style_draw_box):
	Don't draw shadows around spinbuttons, use inset as the combobox entry.


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

Modified: trunk/src/murrine_style.c
==============================================================================
--- trunk/src/murrine_style.c	(original)
+++ trunk/src/murrine_style.c	Fri Apr  3 02:12:22 2009
@@ -858,6 +858,9 @@
 					params.corners = MRN_CORNER_BOTTOMLEFT;
 			}
 
+			if (murrine_style->reliefstyle > 1)
+				params.reliefstyle = 1;
+
 			STYLE_FUNCTION(draw_spinbutton_down) (cr, &murrine_style->colors, &params, x, y, width, height);
 		}
 	}
@@ -899,6 +902,9 @@
 			width++;
 		}
 
+		if (murrine_style->reliefstyle > 1)
+			params.reliefstyle = 1;
+
 		/* draw_spinbutton (cr, &murrine_style->colors, &params, x, y, width, height); */
 		STYLE_FUNCTION(draw_button) (cr, &murrine_style->colors, &params, x, y, width, height, horizontal);
 	}



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