size_request the right widget
This commit is contained in:
parent
e5a0ba9e2e
commit
fea1c24eaf
@ -186,7 +186,7 @@ class ActivityHost(dbus.service.Object):
|
|||||||
self.label_hbox.set_size_request(tab_width, -1);
|
self.label_hbox.set_size_request(tab_width, -1);
|
||||||
else:
|
else:
|
||||||
self.tab_label.set_ellipsize(pango.ELLIPSIZE_NONE)
|
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):
|
def __get_close_icon_size(self):
|
||||||
settings = self.label_hbox.get_settings()
|
settings = self.label_hbox.get_settings()
|
||||||
|
Loading…
Reference in New Issue
Block a user