[bitbake-devel] [PATCH 11/17] Hob: Change package selection tab order
Dongxiao Xu
dongxiao.xu at intel.com
Wed Mar 21 12:55:15 UTC 2012
In the package screen, change the tab order to be:
"Included" and "All packages".
Also change some descriptions in tab.
This fixes [YOCTO #2111]
Signed-off-by: Dongxiao Xu <dongxiao.xu at intel.com>
Signed-off-by: Shane Wang <shane.wang at intel.com>
---
lib/bb/ui/crumbs/packageselectionpage.py | 40 +++++++++++++++---------------
1 files changed, 20 insertions(+), 20 deletions(-)
diff --git a/lib/bb/ui/crumbs/packageselectionpage.py b/lib/bb/ui/crumbs/packageselectionpage.py
index 23e460c..32e438c 100755
--- a/lib/bb/ui/crumbs/packageselectionpage.py
+++ b/lib/bb/ui/crumbs/packageselectionpage.py
@@ -34,55 +34,55 @@ class PackageSelectionPage (HobPage):
pages = [
{
- 'name' : 'All packages',
- 'filter' : {},
+ 'name' : 'Included',
+ 'filter' : { PackageListModel.COL_INC : [True] },
'columns' : [{
- 'col_name' : 'Name',
+ 'col_name' : 'Package Name',
'col_id' : PackageListModel.COL_NAME,
'col_style': 'text',
'col_min' : 100,
- 'col_max' : 400
+ 'col_max' : 300
}, {
- 'col_name' : 'size',
+ 'col_name' : 'Brought in by',
+ 'col_id' : PackageListModel.COL_BINB,
+ 'col_style': 'text',
+ 'col_min' : 100,
+ 'col_max' : 350
+ }, {
+ 'col_name' : 'Size',
'col_id' : PackageListModel.COL_SIZE,
'col_style': 'text',
'col_min' : 100,
- 'col_max' : 500
+ 'col_max' : 300
}, {
'col_name' : 'Included',
'col_id' : PackageListModel.COL_INC,
'col_style': 'check toggle',
'col_min' : 50,
'col_max' : 50
- }]
+ }]
}, {
- 'name' : 'Included',
- 'filter' : { PackageListModel.COL_INC : [True] },
+ 'name' : 'All packages',
+ 'filter' : {},
'columns' : [{
- 'col_name' : 'Name',
+ 'col_name' : 'Package Name',
'col_id' : PackageListModel.COL_NAME,
'col_style': 'text',
'col_min' : 100,
- 'col_max' : 300
- }, {
- 'col_name' : 'Brought by',
- 'col_id' : PackageListModel.COL_BINB,
- 'col_style': 'text',
- 'col_min' : 100,
- 'col_max' : 350
+ 'col_max' : 400
}, {
- 'col_name' : 'size',
+ 'col_name' : 'Size',
'col_id' : PackageListModel.COL_SIZE,
'col_style': 'text',
'col_min' : 100,
- 'col_max' : 300
+ 'col_max' : 500
}, {
'col_name' : 'Included',
'col_id' : PackageListModel.COL_INC,
'col_style': 'check toggle',
'col_min' : 50,
'col_max' : 50
- }]
+ }]
}
]
--
1.7.4.1
More information about the bitbake-devel
mailing list