From: Elliot Smith Date: Thu, 21 Jul 2016 15:58:39 +0000 (+0300) Subject: toaster: set non-hideable columns for built recipes table X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3abd0ac300462e6d1335018cf2d0420de7cc8b76;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- 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",