diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-04-12 21:18:13 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-04-12 21:18:13 +0900 |
commit | be10c3249dce580b624159f1c4a87ad29b38669b (patch) | |
tree | 860a006c22e72b34594c52cbed770b37b5aa7448 /buildstream/_frontend | |
parent | acfe24945f7790d8228a4f4fe1ee3aeb713a58ab (diff) | |
download | buildstream-be10c3249dce580b624159f1c4a87ad29b38669b.tar.gz |
_frontend/status.py: Fixed status widgets to show full element names.
Diffstat (limited to 'buildstream/_frontend')
-rw-r--r-- | buildstream/_frontend/status.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/_frontend/status.py b/buildstream/_frontend/status.py index 0ebf93edd..7b4aad250 100644 --- a/buildstream/_frontend/status.py +++ b/buildstream/_frontend/status.py @@ -340,7 +340,7 @@ class StatusJob(): # Calculate the size needed to display self.size = 10 # Size of time code with brackets self.size += len(action_name) - self.size += len(element.name) + self.size += len(element._get_full_name()) self.size += 3 # '[' + ':' + ']' # render() @@ -357,7 +357,7 @@ class StatusJob(): self.format_profile.fmt(']') # Add padding after the display name, before terminating ']' - name = self.element.name + (' ' * padding) + name = self.element._get_full_name() + (' ' * padding) text += self.format_profile.fmt('[') + \ self.content_profile.fmt(self.action_name) + \ self.format_profile.fmt(':') + \ |