summaryrefslogtreecommitdiff
path: root/buildstream/_frontend/widget.py
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2017-10-18 10:52:50 +0200
committerJürg Billeter <j@bitron.ch>2018-02-08 14:04:38 +0100
commit399f09b74c0014066fbb32c3a7db84e5b4ef51e5 (patch)
tree0c671d0201ab2ddd663807ce8815bccdc621ed4f /buildstream/_frontend/widget.py
parent82913c77409478dccf7797c631bb6bc1f5f57aa2 (diff)
downloadbuildstream-399f09b74c0014066fbb32c3a7db84e5b4ef51e5.tar.gz
Add junction support for subprojects
This introduces junctions as a new kind of elements to allow dependencies to cross project boundaries.
Diffstat (limited to 'buildstream/_frontend/widget.py')
-rw-r--r--buildstream/_frontend/widget.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/_frontend/widget.py b/buildstream/_frontend/widget.py
index 701efe162..c7d3d03ab 100644
--- a/buildstream/_frontend/widget.py
+++ b/buildstream/_frontend/widget.py
@@ -182,7 +182,7 @@ class ElementName(Widget):
return ""
plugin = _plugin_lookup(element_id)
- name = plugin.name
+ name = plugin._get_full_name()
# Sneak the action name in with the element name
action_name = message.action_name
@@ -584,7 +584,7 @@ class LogLine(Widget):
full_key, cache_key, dim_keys = element._get_full_display_key()
- line = p.fmt_subst(line, 'name', element.name, fg='blue', bold=True)
+ line = p.fmt_subst(line, 'name', element._get_full_name(), fg='blue', bold=True)
line = p.fmt_subst(line, 'key', cache_key, fg='yellow', dim=dim_keys)
line = p.fmt_subst(line, 'full-key', full_key, fg='yellow', dim=dim_keys)