changeset 7705:401deb1e1085

[gaim-migrate @ 8350] This should look a lot better. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Tue, 02 Dec 2003 23:52:47 +0000
parents 3d79f9cab273
children e6244f1a19a5
files src/gtkcellrendererprogress.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkcellrendererprogress.c	Tue Dec 02 21:36:08 2003 +0000
+++ b/src/gtkcellrendererprogress.c	Tue Dec 02 23:52:47 2003 +0000
@@ -225,7 +225,7 @@
 	gint calc_height;
 	
 	calc_width = (gint) cell->xpad * 2 + 50;
-	calc_height = (gint) cell->ypad * 2 + 10;
+	calc_height = (gint) cell->ypad * 2 + 12;
 	
 	if (width)
 		*width = calc_width;
@@ -289,8 +289,8 @@
 		       window,
 		       state, GTK_SHADOW_OUT,
 		       NULL, widget, "bar",
-		       cell_area->x + x_offset + cell->xpad,
-		       cell_area->y + y_offset + cell->ypad,
-		       width * cellprogress->progress,
-		       height - 1);
+		       cell_area->x + x_offset + cell->xpad + 1,
+		       cell_area->y + y_offset + cell->ypad + 1,
+		       (width - 3) * cellprogress->progress,
+		       height - 3);
 }