diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-04-12 21:37:24 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-04-12 21:37:24 +0900 |
commit | 95d1dafc688fbc1a76cc50c2c60825d68f64f7c9 (patch) | |
tree | d957f9e4164e7e3856d0296c32a2c602d43523a8 /buildstream/_frontend | |
parent | be10c3249dce580b624159f1c4a87ad29b38669b (diff) | |
download | buildstream-95d1dafc688fbc1a76cc50c2c60825d68f64f7c9.tar.gz |
_frontend/widget.py: Fixed regression in logfile abbreviations.
Added required size_request() method to new MessageOrLogFile() widget.
This came up in merge request !377
Diffstat (limited to 'buildstream/_frontend')
-rw-r--r-- | buildstream/_frontend/widget.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buildstream/_frontend/widget.py b/buildstream/_frontend/widget.py index 429daaa12..3d7b98733 100644 --- a/buildstream/_frontend/widget.py +++ b/buildstream/_frontend/widget.py @@ -300,6 +300,10 @@ class MessageOrLogFile(Widget): self.message_widget = MessageText(content_profile, format_profile) self.logfile_widget = LogFile(content_profile, format_profile, err_profile) + def size_request(self, pipeline): + self.message_widget.size_request(pipeline) + self.logfile_widget.size_request(pipeline) + def render(self, message): # Show the log file only in the main start/success messages if message.logfile and message.scheduler and \ |