comparison src/gtkstatusbox.c @ 12102:8df87db79bad

[gaim-migrate @ 14399] I think this is better, don't you? committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Tue, 15 Nov 2005 04:45:21 +0000
parents 383226e075f2
children f746fb528dc9
comparison
equal deleted inserted replaced
12101:8c6ea55c84a4 12102:8df87db79bad
605 combo_box_size_request(widget, &req); 605 combo_box_size_request(widget, &req);
606 606
607 box_alc.height = MAX(1, ((allocation->height) - (req.height) - (12))); 607 box_alc.height = MAX(1, ((allocation->height) - (req.height) - (12)));
608 box_alc.y = box_alc.y + req.height + 9; 608 box_alc.y = box_alc.y + req.height + 9;
609 609
610 box_alc.width -= 6; box_alc.x += 3; 610 box_alc.width -= 6;
611 box_alc.x += 3;
611 612
612 613
613 gtk_widget_size_allocate((GTK_GAIM_STATUS_BOX(widget))->vbox, &box_alc); 614 gtk_widget_size_allocate((GTK_GAIM_STATUS_BOX(widget))->vbox, &box_alc);
614 615
615 parent_alc.height = MAX(1,req.height); 616 parent_alc.height = MAX(1,req.height);
616 parent_alc.width -= 6; parent_alc.x += 3; parent_alc.y += 3; 617 parent_alc.width -= 6;
618 parent_alc.x += 3;
619 parent_alc.y += 3;
617 620
618 combo_box_size_allocate(widget, &parent_alc); 621 combo_box_size_allocate(widget, &parent_alc);
619 widget->allocation = *allocation; 622 widget->allocation = *allocation;
620 } 623 }
621 624