aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliot Smith <elliot.smith@intel.com>2016-07-21 18:58:39 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-25 09:24:54 +0100
commit3abd0ac300462e6d1335018cf2d0420de7cc8b76 (patch)
tree36d6ec671f76ac7f829a8294c6c47231b018d7fc
parentdc1781e3783724823fd6b0c2d65f6b2771e8d0be (diff)
downloadbitbake-3abd0ac300462e6d1335018cf2d0420de7cc8b76.tar.gz
toaster: set non-hideable columns for built recipes table
None of the columns in the built recipes table are marked as not hideable, so it is possible to remove all the columns and make the table disappear. Set the recipe name and version columns as not hideable. Also rename the "Name" column to "Recipe", for consistency with the design and with other recipe tables. [YOCTO #9833] Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/toaster/toastergui/buildtables.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/toaster/toastergui/buildtables.py b/lib/toaster/toastergui/buildtables.py
index f845c66c6..82a8ba537 100644
--- a/lib/toaster/toastergui/buildtables.py
+++ b/lib/toaster/toastergui/buildtables.py
@@ -295,13 +295,15 @@ class BuiltRecipesTable(BuildTablesMixin):
{% endif %}{% endwith %}{% endwith %}
'''
- self.add_column(title="Name",
+ self.add_column(title="Recipe",
field_name="name",
static_data_name='name',
orderable=True,
+ hideable=False,
static_data_template=recipe_name_tmpl)
self.add_column(title="Version",
+ hideable=False,
field_name="version")
self.add_column(title="Dependencies",