summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/packageselectionpage.py
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: hob: removal of hob ui and associated ui filesbavery2016-03-021-355/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We've been gearing up the Toaster web UI to replace the Hob (GTK+ based) UI for some time now; Hob has basically been on life support for the past few releases. As of late last month in master, Toaster has the capability to select the packages in an image, removing the last thing that Hob could do that Toaster couldn't. To recap, the reasons why Hob is being removed include: - The code is tightly woven into BitBake, making it fragile. This means it needs significant QA and maintenance on an ongoing basis. - Some of the implementation is not ideal; we'll be able to remove some cruft from BitBake and OE-Core at the same time. - It's GTK+ 2 based, not the current GTK+ 3. - Toaster is now a much more capable UI and is being actively maintained The discussion about removing hob can be found at: http://lists.openembedded.org/pipermail/openembedded-architecture/2016-February/000082.html (Bitbake rev: be2cceea159c6ca9111eff3df87b98513eab6d72) Signed-off-by: bavery <brian.avery@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: output filenames based on initial recipe nameMarius Avram2014-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | If a recipe for an image was edited from the hob interface the name of the files outputed in the <build_dir>/tmp/deploy/images/${MACHINE}/ and the temporary recipes from <build_dir>/recipes/images/ contained only the generic name "hob-image". From now on both the temporary recipes and the output from the deploy/ directory will contain the name of the base recipe appended by the "-edited" suffix, in the case when a base image recipe was edited. The base recipe can be a standard recipe (e.g core-image-minimal) or a custom created and saved by the user. For example, if core-image-minimal is edited the deploy/ directory will contain core-image-minimal-edited-20140318-140428-qemux86.ext3 and the recipes/images/ directory will contain the recipe core-image-minimal-edited-20140318-140428.bb. [YOCTO #5002] (Bitbake rev: f34575809677dc52e1071a3ae3daebe92819cec0) Signed-off-by: Marius Avram <marius.avram@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/packageslist: change image size label to estimated image sizeCristiana Voicu2013-08-061-1/+1
| | | | | | | | | | | | On the "Edit packages list" page, the image size may be computed before building. We didn't find another way to give a more accurate size, so we have agreed to inform the user that this an estimated size. [YOCTO #4388] (Bitbake rev: 136eda2dcbc32aba4f59783049352dc1375cc945) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Table sorting criteria should not change after deselecting ↵Cristiana Voicu2013-05-221-1/+7
| | | | | | | | | | | | | recipes/packages After a recipe/package is deselected, the table is sorted as before the fadeout animation. [YOCTO #4453] (Bitbake rev: d4968eac539f777367ab1243a1049117cb261176) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: apply a fade out animation when deselecting from tablesCristiana Voicu2013-05-221-14/+10
| | | | | | | | | | | | | | -applied a fade out mechanism for deselctiong on all the tabs of recipes and packages list page -set cursor on the package/recipe when it is included(important when the its place is changing; like when the tree si order by included tab) [YOCTO #4342] (Bitbake rev: 8bd0e0681a6a39c00accbfc0041ab248993f3877) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: assure consistency for image size labelCristiana Voicu2013-05-101-8/+12
| | | | | | | | | | After the image was build, update the image size in the packagelistpage. [YOCTO #4388] (Bitbake rev: 4d6d02e61b32d1d710c708774f08cc5e7764415d) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: clicking on "cancel" should reset table sorting to defaultCristiana Voicu2013-05-101-0/+9
| | | | | | | | | | | Changed the "cancel" callback function for both recipes and packages list page. [YOCTO #4333] (Bitbake rev: 05ebbaa2426716c6254c4a98872020d02d2944bd) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Refine sorting mechanisms in HobCristiana Voicu2013-04-151-5/+6
| | | | | | | | | | | | | | -refine sorting functions for each column from recipe list page and package list page -sort correctly size column from packages list page -set default sroting order and secondary sorting criteria -make included on included recipes/packages no sortable [YOCTO #2346 & #4194] (Bitbake rev: 56822176e3d5e613654a46c983d2f979d7a9eebc) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: giving focus to the search field loses the table sortingCristiana Voicu2013-04-021-18/+27
| | | | | | | | | | | Giving focus to the search text field should not impact the table sorting. [YOCTO #4113] (Bitbake rev: b5b4b6e4fefa6a164a49b291a0993b1ff63947f4) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Removed popup when including a packageAndrei Dinu2013-04-021-1/+1
| | | | | | | | | | | | Fixed the functionality which made an information dialog pop up when including any package. [HOB #4138] (Bitbake rev: 6cabbb241ab3959b3c8f084423469c0bfc9899bd) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Search strings and results should be persistentCristiana Voicu2013-03-291-17/+18
| | | | | | | | | | | Now, the search results stay until I clear the search field, so that I can manipulate the search results. [YOCTO #4112 & #4117] (Bitbake rev: d880ce966ca825aa66a23755fcb47497fb3f26c3) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: packageselectionpage.py : added information to hobAndrei Dinu2013-03-291-1/+2
| | | | | | | | | | | In order to have information for each package in hob, a new item is added to the dictionary, represeting the files that are brought in by each package. (Bitbake rev: ffb8e32166d0ab690131e753f91592011c3f7ffb) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: implementation of search functionality in HobCristiana Voicu2013-03-221-16/+41
| | | | | | | | | | | | Implemented the search functionality for recipes and packages using filters on the listmodel. I have used the design which can be found in bugzilla. [YOCTO #3529] (Bitbake rev: b77166ad7b8571895f73a84f7789d93fbd4f6d04) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: crumbs/packageselectionpage: added event for the "All packages" tabAndrei Dinu2013-03-191-3/+10
| | | | | | | | | and passing the information needed to the function created in the builder. (Bitbake rev: 840bbdbc973e72d4305c21bcc26c008a6dc39456) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: eliminate the "by recipe" grouping in the packages tableCristiana Voicu2013-01-311-7/+15
| | | | | | | | | | | | We have agreed to change how we show the packages. Now they are not grouped by recipe. Until now, it was implemented using TreeStore and I've changed it to extend a ListStore. I have modified all the function in according to this. [YOCTO #2180] (Bitbake rev: 311e7ba8b2c88fbf6f16b6ffb1400226b155ddd4) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Hob should display warnings generated during parsingCristiana Voicu2013-01-211-0/+1
| | | | | | | | | | | | | | -now Hob catches the warnings generated during parsing, and after the parsing is completed, if there are any warnings, it shows a bar that contains a message with how many warnings has encountered, and a button "View warnings" -when "View warnings" button is clicked, Hob shows a dialog with the warnings; if there more than 1 warning, you can use "Previous" and "Next" button to see them [YOCTO #3215] (Bitbake rev: d7b5311d35b3974398fecabfb5ecf1effa85c27e) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: progress bar changed to busy cursor when you open log fileCristiana Voicu2013-01-211-14/+2
| | | | | | | | | | | | | | -the first implementation for this bug used a progress bar, that is shown during open file process; it revelead that the progress bar stops earlier -now I have implemented using gtk.show_uri() method, that shows itself a busy cursor when it opens a file; -deleted the code for the first implementation [YOCTO #2997] (Bitbake rev: 09d1c4c2db124104b9da460547b20a2c2ff07bb3) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hig.py: refactor into individual componentsBogdan Marinescu2013-01-161-1/+1
| | | | | | | | | | | | | | | | | | Since hig.py was becoming too large (which impacted maintenance and operations like git merges) it was split into individual files for the classes that were implemented in hig.py. hig is now a Python package (lib/bb/ui/crumbs/hig/). The patch was tested by building core-image-basic/qemux86 in Hob and accessing the various UI elements implemented in hig. Note that the patch does not change the functionality of Hob in any way, it's just a code refactoring that should make life a bit easier for Hob developers. [YOCTO #3200] (Bitbake rev: a7a2b730f915cafe7aa30539622dd1ca64ae41f5) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: add a progress indicator when you select 'view log'Cristiana Voicu2012-10-271-1/+14
| | | | | | | | | | | | | | | | | | | | - created a new file named "hobthreads.py", defining a thread for opening the log file in a subprocess using subprocess module; in the future I think we will add some other threads here, to implement some other performance issues - on "builddetailspage", "packageselectionpage" and "imagedetailspage" I have changed the manner for opening the log file; it uses the thread to open the file, and on main thread it creates a dialog to show a progress bar, which pulses till the file is open - this was added because when the log file is big, it takes time to be opened; on the dialog you can use "Cancel" button to terminate the process initiated to open the file [YOCTO #2997] (Bitbake rev: 165362a63f085991b6bab63ab90a0c7b9bf6b784) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: hob/hobwidget: "Brought in by" column is now displayed ↵Cristian Iorga2012-10-241-1/+1
| | | | | | | | | | | | | | | correctly In "Edit Recipes" and "Edit packages" pages, the "Brought in by" column is displayed correctly, with the right number of additional packages and a proper title. Fixes [YOCTO #2195]. (Bitbake rev: 4d1d3e5a54eb718e2eee02f734d929f15ccf99ce) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: image size displayed wrong size in edit packages screenAndrei Dinu2012-10-241-2/+2
| | | | | | | | | | | | | size_str = '%.1f' % (size*1.0/(1024*1024)) + ' MB' from /bitbake/lib/bb/ui/crumbs/hobpages.py file transformed the size in MB. In our file it was again multiplied by 1024 instead of doing a division by 1024, which brought a faulty size on the edit packages screen. (Bitbake rev: 7dcea3884a45973ae332695dc8a53814b701151f) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Buttons width and height are taken for hostIoana Grigoropol2012-09-271-1/+1
| | | | | | | | | | | | | - removed all set_size_request calls for buttons in order to: - force autosizing of buttons with regard to the text length - use host theme default height for buttons - modified buttons on image details page to have the same height (default host one) and the width of the button with the largest text - modified Stop button on build details page to have the default height by directly attaching it to the containing table instead of hbox (Bitbake rev: 9cdfaa17309d368c3bbae0f1cce0ad875d340e83) Signed-off-by: Ioana Grigoropol <ioanax.grigoropol@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/packageselectionpage:cancel button should redirect to Image ↵Cristiana Voicu2012-09-251-3/+3
| | | | | | | | | | | | conf screen Cancel button brings you to Image configuration page. [YOCTO #3105] (Bitbake rev: 88cd9586f0f6a413c1a6800b3e57444f453afb73) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/packageselectionpage: "Cancel" button returns to "Image ↵Cristiana Voicu2012-09-201-1/+1
| | | | | | | | | | | | | | | | configuration" screen Once package building completes, you can customise the list of packages that will go into the final image. Once you have made the changes you need, you can either build your image, or you can exit the process and go back to the 'Image configuration' screen by selecting 'Cancel'. [YOCTO #3105] (Bitbake rev: c5fd1824c9794923576ec1e747536c0430542fd1) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: rename 'View log' to 'Open log'Constantin Musca2012-09-201-6/+6
| | | | | | | | | | | Rename all the 'View log' buttons to 'Open log' for consistency. [YOCTO #3045] (Bitbake rev: 7bc9b0c1c2544b494959b13ac79ac3e52edb4fe3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/packageselectionpage: restore selected packagesCristiana Voicu2012-09-101-3/+2
| | | | | | | | | | After "Cancel" action, selected packages are restored to default. [YOCTO #2984] (Bitbake rev: 81b0c0cd15cbd61285e6525f482412051371ea4c) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Hob: change view of 'recipes' and 'packages' tables as ui designLiming An2012-09-071-36/+12
| | | | | | | | | | | | | changed the order of task tables, cancel the 'description' column, add the binb total number indicator, and so on [YOCTO 2195] (Bitbake rev: 6dc3263d60a6d35f9eebfcdbc2665201ee40b953) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/recipe&packageselectionpage: Change "Back" button to "Cancel" ↵Cristiana Voicu2012-09-071-4/+3
| | | | | | | | | | | | | | | button "Back" button placed on RecipeSelectionPage and PackageSelectionPage was changed to "Cancel" button to avoid any confusion. Also, it was placed next to the other buttons on the page. [YOCTO #3012] (Bitbake rev: 1785b49a1b0b9698851d6e8aea94d1d2aa22c445) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/packageselectionpage: Add tooltips to 'Included' and 'All ↵Cristiana Voicu2012-09-071-1/+6
| | | | | | | | | | | | | | | 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>
* bitbake: hob/packageselectionpage: Correctly restore previously selected ↵Cristiana Voicu2012-09-071-0/+3
| | | | | | | | | | | | | | | packages "Back" button from "Packageselection" page now restores correctly previously selected packages list. Till now "Back" button was implemented just to switch pages, not to cancel changes you have made to packages list. [YOCTO #2984] (Bitbake rev: 1ad03d6a327eb3389f7b4d0d74d2e8ae8b50c3b6) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Hob wizard-like reorganizationCristian Iorga2012-08-221-4/+12
| | | | | | | | | | | | | | | | | | | | | | Hob is now more context-sensitive regarding user changes/options. Also, the workflow have been streamlined and resembles more of a wizard. Beautified some hardcoded values. Fixed typo. New streamlined Image Configuration page. Build and/or Edit image buttons presence is context sensitive. Recipes and packages tabs selected automatically based on custom image or pre-defined target image (included or all). Context sensitive Back button. Fixes [YOCTO 2165] (Bitbake rev: b48cd7dcf57b1abc8c5b46ced11d4f57bf06e557) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Hob: log for Hob and allow users to show logs after successful buildLiming An2012-08-021-4/+23
| | | | | | | | | | | | | | | | | | If users build images in Hob, record logs and allow users to retrieve the lo after successful build. The logs are generated if and only if: - users do "just bake" - users do "build image" after "build packages" - users do "build packages" only [YOCTO #1991] (Bitbake rev: 291289787bb042b99f0599babc2d67c220aadb87) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Fix for Hob bug #2323Cristian Iorga2012-06-251-5/+2
| | | | | | | | | | | Removed unnecessary button from Recipes screen and replaced the button that diplayed packages size and total image size from Packages screen with a label. (Bitbake rev: e6ff1d4bab43fdcd8af1230f1d54615f53c1978e) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: fixed a definition not match issue when click choose directflb in ↵Liming An2012-06-081-1/+1
| | | | | | | | | | | package page [YOCTO #2526] (Bitbake rev: 3c285d386a4ca0a86798feb0c506673a2a312727) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/[package|recipe]selectionpage: include buttonJoshua Lock2012-05-201-2/+8
| | | | | | | | | | | The indication of the included packages/recipes in the top right of the GUI, per design, is a button which switches the Notebook to the included tab. (Bitbake rev: 494534cae6211d9055098562df1f35b56858f3ec) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/: replace custom HobNotebookJoshua Lock2012-05-201-2/+1
| | | | | | | | | | | | | | | | The custom HobNotebook widget was implemented to address perceived deficiencies in the gtk.Notebook API. Recent inspection reveals that the API is capable of all that Hob requires of it and therefore maintaining a custom class to provide similar functionality does not make sense. Addresses [YOCTO #2276] (Bitbake rev: e683caa9863bbb52480346669806f22173629a5e) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: add group number show and 'bold' visible effect for Package viewLiming An2012-05-091-0/+26
| | | | | | | | | | | | as ui design, add number of packages for each group, and make the text font to 'bold' when row be selected [YOCTO #2195] (Bitbake rev: 5812176a679a39a4d096134c871c3d24a7e505ea) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: fix the missing functionsShane Wang2012-04-121-2/+6
| | | | | | | | | | | | | The patch is to correct 7e5d41ab223b73c1c7b2cf7e4dd13289a2dc2e8b (Bitbake rev: b6e68019494044305ab28492a517d1eafea851c3) to fix the missing functions. [Yocto #2281] (Bitbake rev: 3c2808b67384e92601cbd66877c36ca40df7c7ba) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packageselectionpage: add missing methodJoshua Lock2012-04-121-0/+4
| | | | | | | | | | | | This is just a copy of the same method from the recipeselectionpage so that we can actually run hob again. Fixes [YOCTO #2281] (Bitbake rev: b6e68019494044305ab28492a517d1eafea851c3) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: tooltip change for "Build image" buttonShane Wang2012-04-111-1/+1
| | | | | | | | | [Yocto #2242] (Bitbake rev: a36bd8ddf62397c554dadb97841532e260b01b91) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: add fadeout display effection for package view include pageLiming An2012-04-111-6/+38
| | | | | | | | | [YOCTO #2100] (Bitbake rev: c0c81647dc5e72fe3abb1fb3b65a978aa4b226a5) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Add an extra 50M space if zypper is selectedDongxiao Xu2012-04-111-0/+2
| | | | | | | | | | If zypper is selected, RPM packaging will add extra 50M free space to the final image. We need to reflect it in package selection page. (Bitbake rev: 22344f13d5e201be0d6381c6542d05c6fde7eec3) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Change base image to "Create your own image" if customizedDongxiao Xu2012-04-111-0/+6
| | | | | | | | | | | | | Once user did customization to his base image, we change the base image to be "Create your own image" to avoid some issues caused by the relationship between base image and its default recipes and packages. This fixes [YOCTO #2211] (Bitbake rev: 8edad8d282b69896237e956a00c66cd4d10ef494) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* selectionpage: show persistent tooltips on clickJoshua Lock2012-04-111-5/+8
| | | | | | | | | | Requiring a double click to show the tooltips isn't very intuitive, add a callback to show the persistent tooltips on button release. (Bitbake rev: 80af7e72a9404044910fca7f9265e66354f747a6) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/[recipe|package]selectionpage: fixed width Included colJoshua Lock2012-04-111-9/+14
| | | | | | | | | | Set the expand property on all columns other than the 'Included' column so that the included column remains at the max size set. (Bitbake rev: e1406d75c0643a2e65bb61649958e05e730fb332) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs: only display one 'Brought in by' item in Hob treesJoshua Lock2012-04-111-1/+1
| | | | | | | | | | The design calls for a single 'Brought in by' item to be shown in the tree views with any extra items to be shown in the tooltip. (Bitbake rev: 6866271da738237d3a119e291ac8f9d2c517e124) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: unify _size_to_string() and _string_to_size()Shane Wang2012-04-051-16/+5
| | | | | | | | | | We call intsize_to_string (and string_to_intsize) in 3 different places. We unify the implementations into one place. (Bitbake rev: 578ce86a9ac2110f5b128aae582c6e0b3e739cec) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: fix IMAGE_INSTALL setting while save templateDongxiao Xu2012-04-051-0/+1
| | | | | | | | | | | | | If save every selected package into IMAGE_INSTALL field, and then build the saved bb file by bitbake command line, it will report errors since some packages could not be found since they are dynamically generated. With this commit, Hob will only save those packages into the IMAGE_INSTALL variable which are brought in by user. (Bitbake rev: 6c970d07422bb9a8fcf339315587cfc9b207a44e) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: change some words on recipes screen and package screen to make them ↵Shane Wang2012-03-291-2/+2
| | | | | | | | | consistent (Bitbake rev: 63bfa397059823bea6fa453703cf0653fc123f0b) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs: make use of HobButton for existing primary action buttonsJoshua Lock2012-03-231-9/+2
| | | | | | | | | | Replace all gtk.Button instances that have the orange style applied with HobButton. (Bitbake rev: f4dfdc23a6498fdaa164a1bfccf616ff8fcbd251) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>