summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py
Commit message (Collapse)AuthorAgeFilesLines
...
* lib/bb/ui/crumbs: replace HobXpmLabelButtonBox with HobImageButtonJoshua Lock2012-03-231-19/+21
| | | | | | | | | | | | HobImageButton is an gtk.Button subclass, and therefore behaves like a button with prelight and focus states, with an icon and two lines of text - primary and secondary. The secondary text is displayed in a lighter colour using a new module method, soften_color(), per the design. (Bitbake rev: b91cc96c4ff4195ac26fdfd1fb0c2ff8db06aff8) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Revert interfaces of callbacks for layer_button, view_recipes_button, ↵Shane Wang2012-03-221-3/+3
| | | | | | | | | | | and view_packages_button. (From Poky rev: 35942a7dd973796673ab0215f68b4a25356ec053) (Bitbake rev: 96e235a151fa04f5a15cd8b46f50a5852e2ba739) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/bb/ui/crumbs: Add HobAltButton and use itJoshua Lock2012-03-221-7/+6
| | | | | | | | | | | | | | | | | | | This adds a gtk.Button subclass for secondary actions which unsets the relief so that the user is aware that the button is clickable and yet it is more subtle than the primary action (such that the primary action is the most obvious one) - this is per the interaction design. Further we replace all uses of gtk.LinkButton with the new HobAltButton Partially addresses [YOCTO #2105], a follow on patch will theme the button so that it matches the visual design. (From Poky rev: c3f17fed243180678264168968333463b203bfa0) (Bitbake rev: 601521c2d7f5568d94529a77b2cbe19fef7cbf48) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Change "View Packages" descriptionShane Wang2012-03-221-3/+3
| | | | | | | | | | | | | | Change 'View Packages' button description from 'Add/remove packages' to 'Add/remove previously built packages to/from your image'. And we adjust the size to make "View Packages" button fit into the window. [Yocto #2146] (From Poky rev: 279dbff3ef9f8e8bc58b86f8c4f5ffe70d4a2e8b) (Bitbake rev: 594f5936c2450d596967f062c14434f5357cb5aa) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Move "Create your own image" to the bottom of image listDongxiao Xu2012-03-221-1/+4
| | | | | | | | | | | | | | Move "Create your own image" item to the bottom of base image list. Besides, remove an un-used hob list entry. This fixes [YOCTO #2104] (From Poky rev: f215ce518ad644ca4747ae17279db4b82d0c715d) (Bitbake rev: 7e00723a6508023ffbefed2c2de1bc9c55564faa) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Change template button name from "Template" to "Templates"Dongxiao Xu2012-03-221-1/+1
| | | | | | | | | | | | | Change the button name according to UI team's design. This fixes [YOCTO #2126] (From Poky rev: 1e4477f9b121b2523685cc6440050c47d3ae1cde) (Bitbake rev: f75dde11f2d73119702026d4dd531c0b242303c7) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs: remove unused return value from append_toolbar_buttonJoshua Lock2012-03-201-3/+3
| | | | | | | | | No caller of the method uses the returned toolbar variable (Bitbake rev: 77ed4bb3468d5d256f08329fd307df5a219ae242) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Change Box's padding valueDongxiao Xu2012-03-151-1/+1
| | | | | | | | | | For Box type of widget, change the padding value to be HIG consistent, that is an increments of 6 pixels. (Bitbake rev: 0347e99ca5c232832f2b490584d76872c6d77311) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Add stop button for parsing progressDongxiao Xu2012-03-151-1/+13
| | | | | | | | | Add a Stop button to allow user to quit the parsing process. (Bitbake rev: a1936ff544f21cde0765f24dc9b0af126ca98752) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Show recipe/package editing button after base image is selectedDongxiao Xu2012-03-151-1/+13
| | | | | | | | | Only show recipe and package editing button after base image is selected. (Bitbake rev: 5290d99f4d0f36076c59ec0b59e3f69b04d69ebf) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Remove the indication in machine/base image comboboxDongxiao Xu2012-03-151-13/+7
| | | | | | | | | | | Remove the "--select a machine--" prompt in machine selection. Also change "--select a base image--" to "Start from scratch" for base image selection. (Bitbake rev: ac36d218ed6793d6fbf3edfadaf193629ea1e46d) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/imageconfigurationpage: make use of the HobInfoButtonJoshua Lock2012-03-121-8/+4
| | | | | | | | | | | | | Use the new HobInfoButton widget in place of the existing gtk.Image with tooltip. Modify the markup of the tooltip so that the link to the reference manual is a clickable hyperlink. (Bitbake rev: 10b4a6770640db49f2f55b8ad7ce55aebb250598) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: make the image configuration page not to flash the progress barShane Wang2012-03-011-16/+14
| | | | | | | | | Sometimes the image configuration page flashes the progress bar, that is because we show_all() and then hide() the progress bar. For this case, the patch doesn't add the progress bar onto the gtable. Then, it will not be flashed any more. (Bitbake rev: ef472710589580b9bfc64d2c02fa42f3ecbdfeb1) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: fix a bug in builder.configuration.curr_machShane Wang2012-03-011-0/+1
| | | | | | | | | | When the user changes the machine to be "--select a machine--", the builder.configuration.curr_mach should be set to empty. Otherwise, if the user adds more layers after the above, the action will trigger recipe parsing, which is not correct. (Bitbake rev: d5c7c9471b8e101ebcb91d707415b9c820b1419f) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: image configuration page doesn't need dialogs any moreShane Wang2012-03-011-3/+0
| | | | | | | | | The dialog references are all in builder.py. We remove the useless "import" in image configuration page. (Bitbake rev: 804f35e6864aeae2bb02550d9eb34120bbb60fa0) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: A new implemetation (v2)Dongxiao Xu2012-02-241-0/+358
This commit implements a new design for hob Some of the new features: - Friendly new designed GUI. Quick response to user actions. - Two step builds support package generation and image generation. - Support running GUI seprarately from bitbake server. - Recipe/package selection and deselection. - Accurate customization for image contents and size. - Progress bars showing the parsing and build status. - Load/save user configurations from/into templates. (Bitbake rev: 4dacd29f9c957d20f4583330b51e5420f9c3338d) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Fengxia Hua <fengxia.hua@intel.com> Designed-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>