[oe-commits] [bitbake] 17/18: toaster: set non-hideable columns for built recipes table

git at git.openembedded.org git at git.openembedded.org
Mon Jul 25 08:59:22 UTC 2016


rpurdie pushed a commit to branch master-next
in repository bitbake.

commit 3abd0ac300462e6d1335018cf2d0420de7cc8b76
Author: Elliot Smith <elliot.smith at intel.com>
AuthorDate: Thu Jul 21 18:58:39 2016 +0300

    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 at intel.com>
    Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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 f845c66..82a8ba5 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",

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list