summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAwais Belal <awais_belal@mentor.com>2017-09-02 22:24:05 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-04 17:51:06 +0100
commit1f1cc1edb21aeec684ef7323554794b33d84d414 (patch)
tree2c997378cd46e04da5f87737420e0a2364357164
parent193577655b7491126ca5fa91fa76d79329e900c2 (diff)
downloadbitbake-contrib-1f1cc1edb21aeec684ef7323554794b33d84d414.zip
bitbake-contrib-1f1cc1edb21aeec684ef7323554794b33d84d414.tar.gz
bitbake-contrib-1f1cc1edb21aeec684ef7323554794b33d84d414.tar.bz2
toaster: Order column in Tasks selectable
The build page provides tables related to performance that cover build time, CPU time and disk IO. The "Edit columns" drop down does not allow selection of the Order column and makes it hidden as well which is not accurate from user interaction point of view. This patch enables the hideable property for the Order column so it is hidden by default but the user can enable it through the drop down if need be. [YOCTO #11040] Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: David Reyna <David.Reyna@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/toaster/toastergui/buildtables.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/toaster/toastergui/buildtables.py b/lib/toaster/toastergui/buildtables.py
index dd0a690..755a7c2 100644
--- a/lib/toaster/toastergui/buildtables.py
+++ b/lib/toaster/toastergui/buildtables.py
@@ -571,6 +571,7 @@ class BuildTimeTable(BuildTasksTable):
super(BuildTimeTable, self).setup_columns(**kwargs)
self.columns[self.toggle_columns['order']]['hidden'] = True
+ self.columns[self.toggle_columns['order']]['hideable'] = True
self.columns[self.toggle_columns['sstate_result']]['hidden'] = True
self.columns[self.toggle_columns['elapsed_time']]['hidden'] = False
@@ -586,6 +587,7 @@ class BuildCPUTimeTable(BuildTasksTable):
super(BuildCPUTimeTable, self).setup_columns(**kwargs)
self.columns[self.toggle_columns['order']]['hidden'] = True
+ self.columns[self.toggle_columns['order']]['hideable'] = True
self.columns[self.toggle_columns['sstate_result']]['hidden'] = True
self.columns[self.toggle_columns['cpu_time_sys']]['hidden'] = False
self.columns[self.toggle_columns['cpu_time_user']]['hidden'] = False
@@ -602,5 +604,6 @@ class BuildIOTable(BuildTasksTable):
super(BuildIOTable, self).setup_columns(**kwargs)
self.columns[self.toggle_columns['order']]['hidden'] = True
+ self.columns[self.toggle_columns['order']]['hideable'] = True
self.columns[self.toggle_columns['sstate_result']]['hidden'] = True
self.columns[self.toggle_columns['disk_io']]['hidden'] = False