changeset 12596:037a673ba862

[gaim-migrate @ 14926] Squeeze that statusbox! committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 21 Dec 2005 10:56:07 +0000
parents 3169cd6727ad
children 842b3b897cde
files src/gtkstatusbox.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkstatusbox.c	Wed Dec 21 08:24:17 2005 +0000
+++ b/src/gtkstatusbox.c	Wed Dec 21 10:56:07 2005 +0000
@@ -740,11 +740,11 @@
 {
 	GtkRequisition box_req;
 	combo_box_size_request(widget, requisition);
-	requisition->height += 6;
+	requisition->height += 3;
 
 	gtk_widget_size_request(GTK_GAIM_STATUS_BOX(widget)->vbox, &box_req);
 	if (box_req.height > 1)
-		requisition->height = requisition->height + box_req.height + 6;
+		requisition->height = requisition->height + box_req.height + 3;
 
 	if (GTK_GAIM_STATUS_BOX(widget)->typing) {
 		gtk_widget_size_request(GTK_GAIM_STATUS_BOX(widget)->toolbar, &box_req);
@@ -765,8 +765,8 @@
 	box_alc = *allocation;
 	combo_box_size_request(widget, &req);
 
-	box_alc.height = MAX(1, (allocation->height - req.height - 12));
-	box_alc.y = box_alc.y + req.height + 9;
+	box_alc.height = MAX(1, (allocation->height - req.height - 6));
+	box_alc.y = box_alc.y + req.height + 6;
 
 	box_alc.width -= 6;
 	box_alc.x += 3;