420
421
def _on_allocate(self, widget, allocation, value_label, space_consumed):
421
422
if self._allocation == allocation:
424
425
self._allocation = allocation
426
logging.getLogger("softwarecenter.view.allocation").debug("on_alloc widget=%s, allocation=%s" % (widget, allocation))
428
429
value_label.set_size_request(max(10, allocation.width-space_consumed), -1)