murrine r5 - in trunk: . src



Author: acimitan
Date: Wed Feb 13 11:42:36 2008
New Revision: 5
URL: http://svn.gnome.org/viewvc/murrine?rev=5&view=rev

Log:
2008-02-13  Andrea Cimitan  <andrea cimitan gmail com>

	* src/murrine_style.c: (murrine_style_draw_box):
	Don't read shadow-type in rgba mode, avoid glitches
	but the flat menubar will be unsupported


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	Wed Feb 13 11:42:36 2008
@@ -657,7 +657,7 @@
 
 		horizontal = height < 2*width;
 		/* This is not that great. Ideally we would have a nice vertical menubar. */
-		if ((shadow_type != GTK_SHADOW_NONE) && horizontal)
+		if (params.mrn_gradient.use_rgba || ((shadow_type != GTK_SHADOW_NONE) && horizontal))
 			STYLE_FUNCTION(draw_menubar) (cr, colors, &params, x, y, width, height,
 			                              murrine_style->menubarstyle);
 	}



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