From 31124e675bd0a444b0d162a67f9623f9d1e7965a Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Wed, 21 Mar 2012 10:14:09 +0800 Subject: [PATCH] Hob: Change package selection tab order In the package screen, change the tab order to be: "Included" and "All packages". Also change some descriptions in tab. This fixes [YOCTO #2111] (From Poky rev: 25628f43d16bcc35874bdac3e1ce1b552c049633) (Bitbake rev: e12a5e478635a0de87060ac20aff8c9b1858596e) Signed-off-by: Dongxiao Xu Signed-off-by: Shane Wang Signed-off-by: Richard Purdie --- .../lib/bb/ui/crumbs/packageselectionpage.py | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py index 23e460caa0..32e438c6ba 100755 --- a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py +++ b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py @@ -34,44 +34,22 @@ class PackageSelectionPage (HobPage): pages = [ { - 'name' : 'All packages', - 'filter' : {}, - 'columns' : [{ - 'col_name' : 'Name', - 'col_id' : PackageListModel.COL_NAME, - 'col_style': 'text', - 'col_min' : 100, - 'col_max' : 400 - }, { - 'col_name' : 'size', - 'col_id' : PackageListModel.COL_SIZE, - 'col_style': 'text', - 'col_min' : 100, - 'col_max' : 500 - }, { - '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] }, '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_name' : 'Brought in by', 'col_id' : PackageListModel.COL_BINB, 'col_style': 'text', 'col_min' : 100, 'col_max' : 350 }, { - 'col_name' : 'size', + 'col_name' : 'Size', 'col_id' : PackageListModel.COL_SIZE, 'col_style': 'text', 'col_min' : 100, @@ -83,6 +61,28 @@ class PackageSelectionPage (HobPage): 'col_min' : 50, 'col_max' : 50 }] + }, { + 'name' : 'All packages', + 'filter' : {}, + 'columns' : [{ + 'col_name' : 'Package Name', + 'col_id' : PackageListModel.COL_NAME, + 'col_style': 'text', + 'col_min' : 100, + 'col_max' : 400 + }, { + 'col_name' : 'Size', + 'col_id' : PackageListModel.COL_SIZE, + 'col_style': 'text', + 'col_min' : 100, + 'col_max' : 500 + }, { + 'col_name' : 'Included', + 'col_id' : PackageListModel.COL_INC, + 'col_style': 'check toggle', + 'col_min' : 50, + 'col_max' : 50 + }] } ]