murrine r24 - in trunk: . src
- From: acimitan svn gnome org
- To: svn-commits-list gnome org
- Subject: murrine r24 - in trunk: . src
- Date: Fri, 29 Feb 2008 01:01:39 +0000 (GMT)
Author: acimitan
Date: Fri Feb 29 01:01:39 2008
New Revision: 24
URL: http://svn.gnome.org/viewvc/murrine?rev=24&view=rev
Log:
2008-02-29  Andrea Cimitan  <andrea cimitan gmail com>
	* src/murrine_style.c: (murrine_style_draw_box):
	Fixed this bug:
	https://bugs.launchpad.net/ubuntu/+source/gtk2-engines-murrine/+bug/195929
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 Feb 29 01:01:39 2008
@@ -790,14 +790,7 @@
 		    gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (widget)))
 			params.active = TRUE;
 
-		/* Fix some firefox crap. */
-		if (MRN_IS_BUTTON (widget) && MRN_IS_FIXED (widget->parent) && widget->allocation.x == -1 &&  widget->allocation.y == -1)
-		{
-			gtk_style_apply_default_background (widget->parent->style, window, TRUE, GTK_STATE_NORMAL,
-			                                    area, x, y, width, height);
-		}
-
-			STYLE_FUNCTION(draw_button) (cr, &murrine_style->colors, ¶ms, x, y, width, height, horizontal);
+		STYLE_FUNCTION(draw_button) (cr, &murrine_style->colors, ¶ms, x, y, width, height, horizontal);
 	}
 	else if (DETAIL ("spinbutton_up") || DETAIL ("spinbutton_down"))
 	{
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]