[oe-commits] [bitbake] 16/18: toaster: set non-hideable columns for build tasks table

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


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

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

    toaster: set non-hideable columns for build tasks table
    
    The task, recipe and order columns in the build tasks table
    should not be hideable. If they are, it's possible for the
    table to have all of its columns hidden so that it no longer
    displays.
    
    Set the hideable property to prevent these columns from being
    hidden.
    
    [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 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/toaster/toastergui/buildtables.py b/lib/toaster/toastergui/buildtables.py
index f3d7236..f845c66 100644
--- a/lib/toaster/toastergui/buildtables.py
+++ b/lib/toaster/toastergui/buildtables.py
@@ -431,17 +431,20 @@ class BuildTasksTable(BuildTablesMixin):
         self.add_column(title="Order",
                         static_data_name="order",
                         static_data_template='{{data.order}}',
+                        hideable=False,
                         orderable=True)
 
         self.add_column(title="Task",
                         static_data_name="task_name",
                         static_data_template=task_link_tmpl(
                             "{{data.task_name}}"),
+                        hideable=False,
                         orderable=True)
 
         self.add_column(title="Recipe",
                         static_data_name='recipe__name',
                         static_data_template=recipe_name_tmpl,
+                        hideable=False,
                         orderable=True)
 
         self.add_column(title="Recipe version",

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


More information about the Openembedded-commits mailing list