diff options
author | Cristiana Voicu <cristiana.voicu@intel.com> | 2012-08-31 11:48:23 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-07 12:10:41 +0100 |
commit | 0edb99f38a435cfee6817a908b5f1838425c659f (patch) | |
tree | e0069f6f7779c79f13482f0078aff6e939b4058a /bitbake | |
parent | b2e2badd51a5e5aa8d6ebc6547969bce686a3fdb (diff) | |
download | openembedded-core-contrib-0edb99f38a435cfee6817a908b5f1838425c659f.tar.gz |
bitbake: hob/packageselectionpage: Add tooltips to 'Included' and 'All packages' tab and 'Search' field
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]
(Bitbake rev: 0828f352419127fb30dc4eb5f91feba84ea59202)
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/packageselectionpage.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py index 89bf0476df..f2983b2bdd 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 |