summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2012-03-21 10:09:16 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-22 14:40:39 +0000
commit8cc7b246f30134ca8984e9dc4277ef91f34498fe (patch)
tree69fcd44c3fe3c1eccd5742cdef1d3a3bd1e05bd7 /bitbake
parentec6272396fbe9625bbfaa188f8f54794ef69392a (diff)
downloadpoky-8cc7b246f30134ca8984e9dc4277ef91f34498fe.tar.gz
Hob: Change recipe selection tab order
In the recipe screen, change the tab order to be: "Included", "All recipes", and "Tasks". Also change some description name in tab. This fixes [YOCTO #2110] (From Poky rev: 400b1092f1bad578b26d1e41aeb87dcb852aa4e3) (Bitbake rev: f7168e891ce4af5234d53896a7f51489a7c84a6f) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/recipeselectionpage.py48
1 files changed, 24 insertions, 24 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py
index 6dd7c1e473..ceaf5f5d5a 100755
--- a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py
+++ b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py
@@ -33,26 +33,21 @@ from bb.ui.crumbs.hobpages import HobPage
33class RecipeSelectionPage (HobPage): 33class RecipeSelectionPage (HobPage):
34 pages = [ 34 pages = [
35 { 35 {
36 'name' : 'Recipe', 36 'name' : 'Included',
37 'filter' : { RecipeListModel.COL_TYPE : ['recipe'] }, 37 'filter' : { RecipeListModel.COL_INC : [True],
38 RecipeListModel.COL_TYPE : ['recipe', 'task'] },
38 'columns' : [{ 39 'columns' : [{
39 'col_name' : 'Recipe', 40 'col_name' : 'Recipe Name',
40 'col_id' : RecipeListModel.COL_NAME, 41 'col_id' : RecipeListModel.COL_NAME,
41 'col_style': 'text', 42 'col_style': 'text',
42 'col_min' : 100, 43 'col_min' : 100,
43 'col_max' : 400 44 'col_max' : 400
44 }, { 45 }, {
45 'col_name' : 'License', 46 'col_name' : 'Brought in by',
46 'col_id' : RecipeListModel.COL_LIC, 47 'col_id' : RecipeListModel.COL_BINB,
47 'col_style': 'text',
48 'col_min' : 100,
49 'col_max' : 400
50 }, {
51 'col_name' : 'Group',
52 'col_id' : RecipeListModel.COL_GROUP,
53 'col_style': 'text', 48 'col_style': 'text',
54 'col_min' : 100, 49 'col_min' : 100,
55 'col_max' : 400 50 'col_max' : 500
56 }, { 51 }, {
57 'col_name' : 'Included', 52 'col_name' : 'Included',
58 'col_id' : RecipeListModel.COL_INC, 53 'col_id' : RecipeListModel.COL_INC,
@@ -61,17 +56,23 @@ class RecipeSelectionPage (HobPage):
61 'col_max' : 50 56 'col_max' : 50
62 }] 57 }]
63 }, { 58 }, {
64 'name' : 'Recipe Collection', 59 'name' : 'All recipes',
65 'filter' : { RecipeListModel.COL_TYPE : ['task'] }, 60 'filter' : { RecipeListModel.COL_TYPE : ['recipe'] },
66 'columns' : [{ 61 'columns' : [{
67 'col_name' : 'Recipe Collection', 62 'col_name' : 'Recipe Name',
68 'col_id' : RecipeListModel.COL_NAME, 63 'col_id' : RecipeListModel.COL_NAME,
69 'col_style': 'text', 64 'col_style': 'text',
70 'col_min' : 100, 65 'col_min' : 100,
71 'col_max' : 400 66 'col_max' : 400
72 }, { 67 }, {
73 'col_name' : 'Description', 68 'col_name' : 'License',
74 'col_id' : RecipeListModel.COL_DESC, 69 'col_id' : RecipeListModel.COL_LIC,
70 'col_style': 'text',
71 'col_min' : 100,
72 'col_max' : 400
73 }, {
74 'col_name' : 'Group',
75 'col_id' : RecipeListModel.COL_GROUP,
75 'col_style': 'text', 76 'col_style': 'text',
76 'col_min' : 100, 77 'col_min' : 100,
77 'col_max' : 400 78 'col_max' : 400
@@ -83,21 +84,20 @@ class RecipeSelectionPage (HobPage):
83 'col_max' : 50 84 'col_max' : 50
84 }] 85 }]
85 }, { 86 }, {
86 'name' : 'Included', 87 'name' : 'Tasks',
87 'filter' : { RecipeListModel.COL_INC : [True], 88 'filter' : { RecipeListModel.COL_TYPE : ['task'] },
88 RecipeListModel.COL_TYPE : ['recipe', 'task'] },
89 'columns' : [{ 89 'columns' : [{
90 'col_name' : 'Recipe', 90 'col_name' : 'Task Name',
91 'col_id' : RecipeListModel.COL_NAME, 91 'col_id' : RecipeListModel.COL_NAME,
92 'col_style': 'text', 92 'col_style': 'text',
93 'col_min' : 100, 93 'col_min' : 100,
94 'col_max' : 400 94 'col_max' : 400
95 }, { 95 }, {
96 'col_name' : 'Brought by', 96 'col_name' : 'Description',
97 'col_id' : RecipeListModel.COL_BINB, 97 'col_id' : RecipeListModel.COL_DESC,
98 'col_style': 'text', 98 'col_style': 'text',
99 'col_min' : 100, 99 'col_min' : 100,
100 'col_max' : 500 100 'col_max' : 400
101 }, { 101 }, {
102 'col_name' : 'Included', 102 'col_name' : 'Included',
103 'col_id' : RecipeListModel.COL_INC, 103 'col_id' : RecipeListModel.COL_INC,