brasero r795 - in trunk: . src



Author: philippr
Date: Sun May  4 20:21:34 2008
New Revision: 795
URL: http://svn.gnome.org/viewvc/brasero?rev=795&view=rev

Log:
	Another fix for #519110 â Variable size of bottom widgets

	* src/brasero-project-size.c (brasero_project_size_size_request),
	(brasero_project_size_expose):


Modified:
   trunk/ChangeLog
   trunk/src/brasero-project-size.c

Modified: trunk/src/brasero-project-size.c
==============================================================================
--- trunk/src/brasero-project-size.c	(original)
+++ trunk/src/brasero-project-size.c	Sun May  4 20:21:34 2008
@@ -627,7 +627,7 @@
 	height = MAX (height, req.height);
 	height += ruler_height;
 
-	requisition->height = height > BRASERO_PROJECT_SIZE_HEIGHT ? height:BRASERO_PROJECT_SIZE_HEIGHT;
+	requisition->height = height;
 	requisition->width = width;
 
 	self->priv->ruler_height = ruler_height;
@@ -862,7 +862,7 @@
 			    x,
 			    self->priv->frame->style->ythickness,
 			    width,
-			    bar_height - self->priv->frame->style->ythickness * 2);
+			    bar_height - self->priv->frame->style->ythickness);
 
 	if (fraction > 1.0) {
 		gint width2;
@@ -905,7 +905,7 @@
 					    x,
 					    self->priv->frame->style->ythickness,
 					    bar_width - width - width2,
-					    bar_height - self->priv->frame->style->ythickness * 2);
+					    bar_height - self->priv->frame->style->ythickness);
 		}
 	}
 	else {
@@ -925,7 +925,7 @@
 				    x,
 				    self->priv->frame->style->ythickness,
 				    bar_width - width + self->priv->frame->style->xthickness,
-				    bar_height - self->priv->frame->style->ythickness * 2);
+				    bar_height - self->priv->frame->style->ythickness);
 	}
 
 	/* Frame around bar */



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