[bitbake-devel] [PATCH] hob/packageselectionpage: Add tooltips to 'Included' and 'All packages' tab and 'Search' field
Cristiana Voicu
cristiana.voicu at intel.com
Fri Aug 31 08:48:23 UTC 2012
For the 'Included' tab: "The packages currently included for your image"
For the 'All packages' tab: "All packages that have been built"
For the 'Search' field: "Enter a package name to find it"
[YOCTO #2322]
Signed-off-by: Cristiana Voicu <cristiana.voicu at intel.com>
---
bitbake/lib/bb/ui/crumbs/packageselectionpage.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py
index 3576ed5..e014e4e 100755
--- a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py
+++ b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py
@@ -35,6 +35,7 @@ class PackageSelectionPage (HobPage):
pages = [
{
'name' : 'Included',
+ 'tooltip' : 'The packages currently included for your image',
'filter' : { PackageListModel.COL_INC : [True] },
'columns' : [{
'col_name' : 'Package name',
@@ -71,6 +72,7 @@ class PackageSelectionPage (HobPage):
}]
}, {
'name' : 'All packages',
+ 'tooltip' : 'All packages that have been built',
'filter' : {},
'columns' : [{
'col_name' : 'Package name',
@@ -135,12 +137,15 @@ class PackageSelectionPage (HobPage):
if page['name'] == "Included":
tab.connect("button-release-event", self.button_click_cb)
tab.connect("cell-fadeinout-stopped", self.after_fadeout_checkin_include)
- self.ins.append_page(tab, page['name'])
+ self.ins.append_page(tab, page['name'], page['tooltip'])
self.tables.append(tab)
self.ins.set_entry("Search packages:")
# set the search entry for each table
for tab in self.tables:
+ search_tip = "Enter a package name to find it"
+ self.ins.search.set_tooltip_text(search_tip)
+ self.ins.search.props.has_tooltip = True
tab.set_search_entry(0, self.ins.search)
# add all into the dialog
--
1.7.9.5
More information about the bitbake-devel
mailing list