summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hig.py
Commit message (Collapse)AuthorAgeFilesLines
* bitbake: hob/settings: alignment and spacing fixes on "Shared state" tabCristiana Voicu2012-10-031-29/+43
| | | | | | | | | | | -alignment and separation on vertical and horizontal axis -change controls width [YOCTO #3188] (Bitbake rev: a84c466eae7c2616c041faf930163f23834f0685) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Improved behavior for error reporting windowCristian Iorga2012-10-021-0/+1
| | | | | | | | | | | | Scrollbars have now an automatic behavior, depending on the error's text size and error window size. Fixes [YOCTO #2983] (Bitbake rev: 0c0a25672498520fb2c46164f08959dda83c61e0) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Further improvements to hob dialogsBogdan Marinescu2012-10-021-6/+23
| | | | | | | | | | | | | | | 1. Replace some labels in the "Build environment" tab 2. 'defaultsetup' changed to 'Default' in the "Image types" tab 3. Fixed the moving icon in the "Output" tab For more details: https://bugzilla.yoctoproject.org/show_bug.cgi?id=2162 [Yocto #2162] (Bitbake rev: db7d98569117b7a75262eb555e1c7ae9a421bdf8) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/settings: Change the 'Delete' button behaviour in the shared ↵Cristiana Voicu2012-10-021-16/+21
| | | | | | | | | | | | | | state settings tab -the tab shows an empty mirror row when no mirror is configured -able to delete the mirror row even if it's not empty(if it's not the first mirror) [YOCTO #3189] (Bitbake rev: d6472608112b8af2e98f247e6f89a7f948b2d020) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Fix bad merge of #2162Bogdan Marinescu2012-09-281-19/+4
| | | | | | | | | This patch fixes the bad merge of #2162 fixes on master. (Bitbake rev: 5b84d88f2a47063197f9a20f8ebf0a7ccf22c2eb) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Error reports are done in a clearer wayCristian Iorga2012-09-281-15/+44
| | | | | | | | | | | | | | | | | | | For long errors (bigger than 200 letters), the text box is scrollable and resizable and text is selectable. Additionaly, all message dialogs are modal. Otherwise, a user could still interact with hob even in an error case, leading to potential problems. See design details in related bugs. Fixes [YOCTO #2960], [YOCTO #2983] (Bitbake rev: be8bf02f2b347edf5514cafc6cb6a44f71118736) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Multiple user interface fixes in settingsBogdan Marinescu2012-09-271-54/+149
| | | | | | | | | | | | | | | | | | | 1. Move the "Others" tab from advanced settings to simple settings 2. Organize content of tabs into headings 3. Match various labels in the settings with the design 4. Clean up config_md5 in both simple and advanced settings This patch implements a part of the changes requested by Belen in the settings dialogs. The second version of the patch addresses all the UI changes requested by Belen (more details are in the bug description): alphabetical ordering of the image types and warnings if no image type is selected. [YOCTO #2162] (Bitbake rev: b45438555ecf2e25ebb99324a18d31c812a2738a) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Add sanity check progress screenBogdan Marinescu2012-09-271-0/+5
| | | | | | | | | | | | | | | | | | | | This patch adds a sanity check progress screen to hob. The screen is displayed when Hob executes the sanity check procedure. The screen is displayed for at least 5 seconds. If a network error is detected, a special dialog is displayed which lets the user open the proxy configuration page directly. Note that currently bitbake triggers the network tests only when the value of its TMPDIR variable changes, which happens fairly rare on my system. This is the subject of another bug (#3026). Version 2 of the patch splits the changes in two parts (sanity.bbclass belongs to oe-core). [YOCTO #3025] (Bitbake rev: b48f1351271cc066ffe919db112b14834a6d8f8f) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@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/settings: implement a new tab in settings dialog to show ↵Cristiana Voicu2012-09-271-13/+167
| | | | | | | | | | | | | | | | SSTATE_MIRRORS Add a new tab to show correctly SSTATE_MIRRORS variable. Now you can add new mirrors or delete mirror. "info" image was also changed( it is smaller, so it can be next to labels). >From "Build environment" tab, SSTATE_DIR and SSTATE_MIRRORS vars were removed. [YOCTO #2893] (Bitbake rev: 1a81e27365d969e4ad4b4f0aec290aa967a8a35f) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob/settings: Remove stray "distro" combobox from simple settingsBogdan Marinescu2012-09-201-10/+0
| | | | | | | | | | | The "distro" combobox was moved to advanced settings, but it was also present in simple settings. This patch removed it from simple settings. (Bitbake rev: 6d56bec4464da14d7fde0e60946be43293ad6e52) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: Fix settings dialog issuesBogdan Marinescu2012-09-201-117/+117
| | | | | | | | | | | | Fix some issues with the settings dialog that were introduced as a result of merging the fix for #2162. [YOCTO #3117] (Bitbake rev: a363f59579e01cb7bd39be2ce73f22c875c62ce7) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Implement 'settings' dialog as designedValentin Popa2012-09-141-132/+244
| | | | | | | | [YOCTO #2162] (Bitbake rev: ac75b06744e73399ca1fbda322ef851ae5754b0a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Fixed hob proxy tab tooltip text per review suggestions [YOCTO #2499]Jessica Zhang2012-09-141-5/+5
| | | | | | | (Bitbake rev: 485e69d41e220ed4e8efc89a357a8d395e44da9f) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob: don't reorder layers listPaul Eggleton2012-09-141-11/+2
| | | | | | | | | | | | We cannot reorder this list - it must stay in the order shown in the dialog (which may in future be configurable by the user). Fixes [YOCTO #2649]. (Bitbake rev: eca0352195d2d8ae8ef15baab9737884ec674a46) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: crumbs/hig: Save toolchain in settingsBogdan Marinescu2012-09-071-0/+1
| | | | | | | | | | | Toolchain was not saved in the settings dialog ("Output" tab). [YOCTO #2695] (Bitbake rev: f8924b75d6ff7f093d73f4e3c0953e349960d5ff) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob2: remove class hccKang Kai2012-09-071-1/+1
| | | | | | | | | Because class hcc is useless, remove it. (Bitbake rev: 08d4a0f76542e05755c298b3875ea373e5512e13) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hob2: remove the hard-coded images mapKang Kai2012-09-071-2/+7
| | | | | | | | | | | | | | | | | [Yocto #2795] When a new image type added, the hob will crash because the new type is not in the hard-coded image dictionary. For most of the image types, they are same with the image file's extension name. So use variable "IMAGE_EXTENSION_difftype" to map the image type which is diff with the image file extension name, such as type "live". And the variable(s) will be set in image_types.bbclass. (Bitbake rev: e7c84f056af9c613920d5adcd078a011e0387193) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hig.py: use module tempfile to create temp fileKang Kai2012-06-251-12/+8
| | | | | | | | | | I am sorry that use os.tmpname which casue a security warning. Follow Darren's suggestion to use tempfile.NamedTemporaryFile instead. (Bitbake rev: fe514a130579302312f68821536d108c8ceb4363) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hig.py: simplify subprocess callKang Kai2012-06-141-2/+2
| | | | | | | | | | | According to Darren's suggestion, subprocess.call() will wait until the subprocess complete. So simplify the code, use subprocess.call() to wait command complete. (Bitbake rev: 3dea9d5a5af82d99d337238981807a4cb1bd5b93) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hig.py: tweak stringsKang Kai2012-06-141-4/+9
| | | | | | | | | | | Add comments for DeployImageDialog 'standalone' part of codes to make it easy to read. And tweak some strings. (Bitbake rev: b0e604d3d6dbfcaeac0a2e0e4399aeb4327f8cbc) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hob2: update DeployImageDialog for seperated toolKang Kai2012-06-081-6/+37
| | | | | | | | | | | | | | Part of [Yocto 2388] Update class DeployImageDialog to get ready for a standalone deploy image tool. The standalone tool can be run directly without hob, and add a button to select image file. So adjust the layout of DeployImageDialog. (Bitbake rev: 399cfbaf36ccd4b934e25f915e64b87f32a3eb82) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hig.py: check deploy process return valueKang Kai2012-06-081-3/+29
| | | | | | | | | | | Update function response_cb of DeployImageDialog to get deploy process return value. According the return value tell user that deploy image successfully or not. (Bitbake rev: f78f6d43a68e0f1dc4d3e4164eed453fcb9c22a8) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hig.py: remove extra spacesKang Kai2012-06-081-4/+4
| | | | | | | | | Remove extra spaces at the end of line or blank line. (Bitbake rev: 70b75a05a806fecf8be15b9ba66fec2eb87dcce4) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hig.py: fix run time errorKang Kai2012-06-081-1/+2
| | | | | | | | | | | | | | Commit 094742bed2fc01d55f572da946fcfa7a48521401 re-implement the function popen_read(). If there is no USB device, it crashes with "ExecutionError: Execution of 'ls /dev/disk/by-id/usb*' failed with exit code 2:" Replace popen_read() way with glob module to get the USB devices. (Bitbake rev: 0c43fe72e3c6a12ac19173d8cbbad81af21c2d85) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Change 'run image' work flow and image detail screen as ui designLiming An2012-06-081-1/+1
| | | | | | | | | | | | Added the qemu_image_kernel selection view box to image detail screen GUI, and changed the 'run image' button clicked work flow. [YOCTO #2155] (Bitbake rev: d548eb8a03cfba5c64c018898972bc0a0bdb280c) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* HOB: 'str' object has no attribute 'close'Robert Yang2012-05-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | For builddetailspage.py: The "f" was a stream in the past, it is a string now, so it doesn't need f.close(), and change its name to "branch". And we don't need the "2>&1" since bb.process.run() can handle it, it will raise exception when error occurs, we should handle the exception ourselves if we want to ignore the error. For hig.py: Use bb.process.Popen() since it doesn't need the return value. If we use bb.process.run(), the parent process will wait for the child process to terminate to get the result. [YOCTO #2511] (Bitbake rev: ab10f3da1976581c371c43cdb88f405cf6fbcd95) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hob2: set beginning folders for FileChooserDialogKang Kai2012-05-301-0/+4
| | | | | | | | | | | Set begining folders FileChooserDialog for the select images and some local directory configurations. That may make user feel more convenient. (Bitbake rev: 047ad35c0c869883509557aeb982e0b784ad2e71) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* replace os.popen with subprocess.PopenRobert Yang2012-05-231-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace os.popen with subprocess.Popen since the older function would fail (more or less) silently if the executed program cannot be found There is a bb.process.run() which will invoke the Popen to run command, use it for simplify the code. For the: p4file = os.popen("%s%s files %s" % (p4cmd, p4opt, depot)) ... for file in p4file: list = file.split() in bitbake/lib/bb/fetch2/perforce.py, it should be an error in the past, since it didn't use readline() to read the pipe, but directly used the split() for the pipe. Use the bb.process.run would fix the problem since bb.process.run will return strings. More info: http://docs.python.org/library/subprocess.html#subprocess-replacements [YOCTO #2075] (Bitbake rev: 8d6700255a6d4dda403c89b171a6d4a1883e5aae) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: reimplement the proxy pageShane Wang2012-05-221-70/+203
| | | | | | | | | | | | | This patch is to reimplement the proxy page in the "Advanced Settings" dialog per the new design in https://bugzilla.yoctoproject.org/attachment.cgi?id=442 and https://bugzilla.yoctoproject.org/attachment.cgi?id=443. [Yocto #2247] (Bitbake rev: 911a60c09c1539a3f10c2bcdb26d40e458c31303) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob:add function about clicked a row to load image file for 'my images' pageLiming An2012-05-201-2/+16
| | | | | | | | | [YOCTO #2238] (Bitbake rev: b72ee3cf29a5badca3f8c1342356164270615aad) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Add proxy setting into setting's md5Dongxiao Xu2012-04-241-0/+9
| | | | | | | | | | If user changed the proxy setting, we will reparse configuration because it may need sanity check. (Bitbake rev: 0be54917cd88ea8f110027a7840ac69a411fd589) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Enlarge the upper value of image sizeDongxiao Xu2012-04-171-4/+4
| | | | | | | | | | | | Originally the upper value for image size and extra size is 1024M, which is relatively small. Enlarge it to 64GB. Besides, fix tooltip for toolchain build. (Bitbake rev: 99f01305b4c2253567a1a13a33339b1755a86e6d) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Fix contents in imagedetailsscreenDongxiao Xu2012-04-161-1/+1
| | | | | | | | | | This commit fixes the contents in imagedetailsscreen, which lacks some kind of image types, e.x., iso and hddimg. (Bitbake rev: 4505097f4f7834857a6086d5dabeedb24b49cf4c) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: A minor fix on tooltipRichard Purdie2012-04-141-1/+4
| | | | | | | | (Bitbake rev: b1449ce6ccf4e33eb2fd34829d2c435a464ae88b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hig/builder: use the new which_terminal() functionSaul Wold2012-04-111-3/+5
| | | | | | | | | | Also adjusted the cmdline ordering to work correctly with both xterm and vte. (Bitbake rev: 4219e2ea033232d95117211947b751bdb5efafd4) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Fix tooltips in Settings dialogDongxiao Xu2012-04-111-18/+20
| | | | | | | | | This fixes [YOCTO #2229] (Bitbake rev: 0f57e1d1d85a2c86d68e604e294ea4b0ceff03ca) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Fix the setting hash calculationDongxiao Xu2012-03-291-14/+19
| | | | | | | | | | Sometimes even setting are not changed, the hash values differs due to variable order issue. This commit fixes the issue. (Bitbake rev: 1fe0996f89952af72cbdc46ca7c6495868d27a56) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Change the format to store image_fstype variableDongxiao Xu2012-03-291-3/+4
| | | | | | | | | Use string format to store image_fstype instead of a list. (Bitbake rev: c91fe7f9d21939fd437dbd79a923499f90fc95c6) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/hig: fix layers_changed testJoshua Lock2012-03-291-1/+4
| | | | | | | | | | | | | | | | Because we sort the treeview to list specific layers at the top, and therefore implicitly change the sorting of the underlying model, we can't be certain that the original layer list will equal the new layer list despite the included layers being the same. To ensure we can do a simple equality test to determine whether the layers have been modified first sort the lists to ensure we're comparing based on contents alone. (Bitbake rev: ae86cd8b4ef1e43b79230326ccba69e2900d074f) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs: hob progress bar should not be red when user stops buildJoshua Lock2012-03-291-1/+1
| | | | | | | | | | If the user explicitly stops the build telling them the build failed is a misnomer. (Bitbake rev: 722f4f0e31f9debf5ad20a91da759a8c25151567) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: change some words in settings dialog to make them consistentShane Wang2012-03-291-11/+11
| | | | | | | (Bitbake rev: 1def8d4d8e725bd9fc4330179557604dda27b917) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: allow users to setup the proxiesShane Wang2012-03-281-11/+100
| | | | | | | | | | | This patch is to read the proxy variables such as all_proxy, http_proxy, https_proxy, ftp_proxy, GIT_PROXY_HOST, GIT_PROXY_PORT, CVS_PROXY_HOST, and CVS_PROXY_PORT from the bitbake server, show them on the Settings dialog for users to change and set proxies for the build. (From Poky rev: bbef66e4005def54d70d3720ec131fa7edc22e2a) (Bitbake rev: 66c63167cd139706100bfa35eb4ca66c98407615) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: use hob icon checker to check the gtk icon for make the icon constaintlyLiming An2012-03-281-5/+3
| | | | | | | | | | | | | Because we have hob icon, so need to make some gtk icon to transfer to hob icon. so use hob icon checker to fixed the gtk icon [YOCTO #2108] (From Poky rev: d1d84e5529e0d0752fdcd8d3458ed7595d373115) (Bitbake rev: 65bbc07a3557ac760c6b900880ea6ae2937afde3) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs: apply primary/secondary dialogue button stylingJoshua Lock2012-03-281-14/+20
| | | | | | | | | | | | | | | | | | | The design calls for primary buttons which are orange and large and secondary buttons which are subtle with pale blue text. This is so that the user is drawn towards the primary action and their use of the application is more guided. This patch uses HobButton and HobAltButton classes to style all dialogue buttons accordingly. Fixes [YOCTO #2125] (From Poky rev: 1a52fe9f9e79f33686bd92613fc93eb97daacab8) (Bitbake rev: 723ad434d427398b202b70f27762878315ffb22c) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs: use a PersistentTooltip for the Brought in by informationJoshua Lock2012-03-251-23/+0
| | | | | | | (Bitbake rev: c57a45c64a17f1b9dd89743692c3da130ffd38f4) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/hig: sort layers in Layer Selection dialogueJoshua Lock2012-03-251-1/+7
| | | | | | | | | | The two layers which cannot be removed, meta and meta-hob, should be the first two items in the tree view. (Bitbake rev: 6e51643325611f6cfc9090dcbbff20755d09c92d) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/hig: tweak 'Add Layer' button per visual designJoshua Lock2012-03-231-11/+16
| | | | | | | | | Use a separate, pre-lit, icon when the button has the cursor over it. (Bitbake rev: 535d23921dfb7310022099d39b1092edfee51c1a) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs/hig: disable removal of meta-hob layerJoshua Lock2012-03-221-1/+3
| | | | | | | | | | | | The Hob GUI requires the meta-hob layer to function so prevent its removal as we do with the core meta layer. (From Poky rev: a64d71e1e4475236e286cb20dde29c4d099d3693) (Bitbake rev: 431624678025b3d3fe04f1c6e8fc50820b3129fb) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hig: make the layer selection dialogue more closely match designJoshua Lock2012-03-221-29/+93
| | | | | | | | | | | | | | | | | | | | | The layer dialogue design includes in-line remove/delete widgets next to the layer path in the tree view for all layers other than the meta layer as well as an in-line notice that the meta layer cannot be removed. This is achieved in this patch through the use of custom cell_data_func's for the treeview to render the meta layer differently and a custom CellRenderer implementation, CellRendererPixbufActivatable, which renders a pixbuf and emits a clicked signal when the user clicks on it. Fixes [YOCTO #2083] (From Poky rev: 83c96b7a0ec4412716090098385a665045909a9a) (Bitbake rev: b2d8f28c0059992200457a15aef8be09e015a5dd) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>