size_request the right widget

This commit is contained in:
Marco Pesenti Gritti 2006-04-26 16:03:29 -04:00
parent e5a0ba9e2e
commit fea1c24eaf

View File

@ -186,7 +186,7 @@ class ActivityHost(dbus.service.Object):
self.label_hbox.set_size_request(tab_width, -1);
else:
self.tab_label.set_ellipsize(pango.ELLIPSIZE_NONE)
widget.set_size_request(-1, -1)
self.label_hbox.set_size_request(-1, -1)
def __get_close_icon_size(self):
settings = self.label_hbox.get_settings()