From 3abd0ac300462e6d1335018cf2d0420de7cc8b76 Mon Sep 17 00:00:00 2001 From: Elliot Smith Date: Thu, 21 Jul 2016 18:58:39 +0300 Subject: [PATCH] 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 Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- lib/toaster/toastergui/buildtables.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/toaster/toastergui/buildtables.py b/lib/toaster/toastergui/buildtables.py index f845c66c665..82a8ba5378b 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", -- 2.47.3