changeset 11990:f08a5365e2c9

[gaim-migrate @ 14283] I haven't quite figured out all of thise size_allocate stuff, but I think I'm starting to get it. Someone should let me know if this actually helps any or what. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Sun, 06 Nov 2005 19:47:32 +0000
parents c7a36461b00c
children 94ba447a6a5c
files src/gtkstatusbox.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkstatusbox.c	Sun Nov 06 19:25:18 2005 +0000
+++ b/src/gtkstatusbox.c	Sun Nov 06 19:47:32 2005 +0000
@@ -622,8 +622,7 @@
 	box_alc = *allocation;
 	combo_box_size_request(widget, &req);
 
-	/* EVIL XXX */
-	box_alc.height = 80;
+	box_alc.height = allocation->height - req.height;
 	/* box_alc.height = MAX(1,box_alc.height - req.height - 6); */
 
 	box_alc.y = box_alc.y + req.height + 6;