summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui
Commit message (Collapse)AuthorAgeFilesLines
* ui/crumbs/persistenttooltip: fix whitespaceJoshua Lock2012-03-221-132/+132
| | | | | | | | | | | We use 4 spaces, not a tab, in BitBake (From Poky rev: 7d9c9fd7c267d69bab51590074d66a2d68e98ca6) (Bitbake rev: 7658cd6d8e0e558f60df72b294019a40c27bc703) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/persistenttooltip: fix colours on darker themesJoshua Lock2012-03-221-5/+21
| | | | | | | | | | | | | | | Darker gtk+ themes, such as the one used in Ubuntu Unity, revealed that the PersistentTooltip styling wasn't setting the label colour correctly. Set the label foreground colour to the tooltip_fg_colour value as read from gtk-color-scheme property of the system settings. (From Poky rev: 0934cfcea5986dbdc50e7159ee907c70b0b3e587) (Bitbake rev: ab15ef585e51e4c85a4a55aa6b35fbf3b53f3805) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/persistenttooltip: tweak bordersJoshua Lock2012-03-221-2/+6
| | | | | | | | | | | | | Change the layout and borders so that the close button is flush with the edge of the tooltip window yet leave the contents with a small border such that text isn't flush with the window edge. (From Poky rev: 5a0891d144de5d3f73c51adef5a30492a679c66a) (Bitbake rev: f652d9d28d69a04bc9361599d173625378ac8d33) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hobwidget: add clear icon to search entries in HobNotebookJoshua Lock2012-03-221-5/+14
| | | | | | | | | | | | It's a common pattern on Gtk+ desktops to be able to clear a search/filter entry using an icon in that entry. (From Poky rev: 6394283522ef2f259397d8bd294291fb20354c8b) (Bitbake rev: f55372d542995fd0797b11f42dcfdbe57858449a) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Use inherit information to judge if a recipe is image typeDongxiao Xu2012-03-221-3/+5
| | | | | | | | | | | | | | Previously we use pattern "-image-" to match recipe name to judge if it is image type. This will ignore some images whose name doesn't match the pattern. The new method is to use the inherit information, that is, if a recipe inherits image.bbclass, we treat it as an image. (From Poky rev: 981b81bd39529d2ba9af0d4e2a25bda3d32bd8fc) (Bitbake rev: bdbee0c899e115ad08b9a77d3e58d6767766da75) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Change the titles for recipe view and package viewShane Wang2012-03-222-2/+2
| | | | | | | | | (From Poky rev: cccbf0cc8a3d8c93a141d96bed4763beb7b85786) (Bitbake rev: 98dd4f20f2e6f50c1cad2c480eebde14eeadc41a) Signed-off-by: Shane Wang <shane.wang@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: Change window title from HOB to HobShane Wang2012-03-221-1/+1
| | | | | | | | | | | [Yocto #2147] (From Poky rev: 9291e6b751171a49fcd8cd0d13c6b22479e542bd) (Bitbake rev: 6d9dc83e566b7d3a4903fdba30053233d97e8381) 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-222-3/+5
| | | | | | | | | | | | | | 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 package selection tab orderDongxiao Xu2012-03-221-20/+20
| | | | | | | | | | | | | | | | | In the package screen, change the tab order to be: "Included" and "All packages". Also change some descriptions in tab. This fixes [YOCTO #2111] (From Poky rev: 25628f43d16bcc35874bdac3e1ce1b552c049633) (Bitbake rev: e12a5e478635a0de87060ac20aff8c9b1858596e) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Change recipe selection tab orderDongxiao Xu2012-03-221-24/+24
| | | | | | | | | | | | | | | | | In the recipe screen, change the tab order to be: "Included", "All recipes", and "Tasks". Also change some description name in tab. This fixes [YOCTO #2110] (From Poky rev: 400b1092f1bad578b26d1e41aeb87dcb852aa4e3) (Bitbake rev: f7168e891ce4af5234d53896a7f51489a7c84a6f) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Shane Wang <shane.wang@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>
* Hob: change package classes selection GUIDongxiao Xu2012-03-221-136/+45
| | | | | | | | | | | | This commit change the GUI for package classes selection in advanced setting dialog, which conforms with UI team's design. (From Poky rev: 7bbcabdb71d76cdb2ec1de15618d1e47f1149a21) (Bitbake rev: 4ebce01dde18e67e01ff7c4736c229a3364c04b0) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Remove split model in GTK HobDongxiao Xu2012-03-224-107/+41
| | | | | | | | | | | | | Since the GTK Hob will not use the server/client split model, thus remove it from current Hob code. But we still keep the core mechanism in bitbake server. (From Poky rev: 983ea0265a53e0725dcbf9085ea767ebbc155ae5) (Bitbake rev: 8c129e05a94d457860d883c9b2934a5559de8d9b) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Still use initcmd != None as the if judgementDongxiao Xu2012-03-221-2/+2
| | | | | | | | | | | | | This commit reverts part of change in 491c87d1, since initcmd has a possible value of 0, therefore we must explicitly compare the initcmd with None in if judgement. (From Poky rev: 5736972974a769ea7ce6c92fdf6842db044f770d) (Bitbake rev: ee55ca82c94080ef825d6de094e38ba40ee62e8b) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: save CONF_VERSION and LCONF_VERSION into templateDongxiao Xu2012-03-203-5/+14
| | | | | | | | | | | | To pass the sanity check, we need to define CONF_VERSION and LCONF_VERSION in local.conf and bblayers.conf. [YOCTO #2119] (Bitbake rev: d595960fea0988df9004d927bc2ec3439540dd9c) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Fix advanced setting reparse mechanismDongxiao Xu2012-03-201-0/+2
| | | | | | | | | | | | When judging if reparse is needed when change values in advanced setting, we need also include user's own defined variable pairs. [YOCTO #2121] (Bitbake rev: db4b78798e2280736ddce9f54d25cbcdcb779d0a) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: reset the selection if switch to a new base imageDongxiao Xu2012-03-201-0/+1
| | | | | | | (Bitbake rev: 947f1a3cb7ca81608fd04b7a5d7ced5f4da47d05) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/persistenttooltip: try to reflect WM close button positionJoshua Lock2012-03-201-1/+23
| | | | | | | | | | | | | | When the user is running a desktop where the close button is on the left we try to detect that and position the tooltip close button appropriately. Where we can't easily determine this we default to placing the close button on the right. Tested on Ubuntu/Unity and Fedora/Gnome Shell. (Bitbake rev: 09147098a63c33dc05dc39b7fe4da4df8e2dbd4c) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hobpage: no need to force a Toolbar button typeJoshua Lock2012-03-201-3/+1
| | | | | | | | | | This uses a more concise API that will be more flexible whent he Toolbar style is updated to match the visual design. (Bitbake rev: 6491b5fd877d6006ebc91e0c73d443a6e7626f3f) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs: remove unused return value from append_toolbar_buttonJoshua Lock2012-03-203-5/+5
| | | | | | | | | 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>
* ui/crumbs/hig: use close rather than OK for dismis buttonJoshua Lock2012-03-201-1/+1
| | | | | | | | | Dialogue buttons should have descriptive names (Bitbake rev: 7b28ed7dfa59d9e7cec662159113a03633f8bb36) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: fixed the tabbar search entry retaining focus when user has clicked off ↵Liming An2012-03-201-0/+1
| | | | | | | | | | | | | | it issue Add reset focus code to fixed the search entry retaining focus issue (From Poky rev: 75969f92af4b0aae25dcaa3321f835dd729f4bf9) (Bitbake rev: 0531730b255f41b2804bcd322e10c52cbf13537a) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: fix static variable "self.search" to parameter "search" in signal ↵Liming An2012-03-201-17/+14
| | | | | | | | | | | | | | callback function To fix the signal callback function code, and make the temp parameter to replaced the static global variable, as required. (From Poky rev: a95b61d48bf92948ff5a21896e71ed3cb323ab38) (Bitbake rev: 76f63e70c7b2d6291f8b11bc5baebda510a276d7) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: change HobNoteBook tab edge color from green to grayLiming An2012-03-202-5/+10
| | | | | | | | | | | | To change the notebook tab pressed edge color from green to gray. (From Poky rev: 8e454749e7f535cf43544eeb167c90632e89cfb0) (Bitbake rev: 8e4e868e6183fbd52fa455937bb824a52ef15ab5) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: add auto adjust background area function for long issue textLiming An2012-03-201-9/+21
| | | | | | | | | | | | To add auto expand the background area function for long issue text input. (From Poky rev: f1822f0961bd719de0827e361f7e6fa3bf872746) (Bitbake rev: f406b0a11b021f8492ed0b083d9ff89de4a14653) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Fixed the hobwidget code and make it like a pythonistaLiming An2012-03-201-29/+34
| | | | | | | | | | | | fixed the 'for..in..' range dance code, and use the 'iterator' approach to replaced the index for quote the 'children' list (From Poky rev: 74e7286a4e875eda5e8abeb5db1015031d21c35f) (Bitbake rev: 3dc443663b97515a54b70c9047a9b22c6b8a0c14) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: remove the invalid code in hobwidget.pyLiming An2012-03-201-2/+0
| | | | | | | | | | | | To delete some code which is not used (From Poky rev: a8f5a72d36e9a55ec7a2296e1c9623e177a95a74) (Bitbake rev: 27e77f6c196e313b5b941238e54b74fc746a0230) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: fix '!= None' and '== None' in the codeShane Wang2012-03-206-16/+16
| | | | | | | | | | | | | | This patch is to fix the following: if foo != None -----> if foo if foo == None -----> if not foo (From Poky rev: d771343b1726f166ed8d75543ba68bd2a20aee7b) (Bitbake rev: 23c140a4d00293d922cbd34b6b837493cac2e93a) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: change the code style to enumerate a list in a for-loopShane Wang2012-03-203-25/+25
| | | | | | | | | | | | | | | | | | | | We use the more common style to enumerate a list in a for-loop (http://docs.python.org/library/functions.html#enumerate), that is: try to use for item in mylist, and try to use for i, item in enumerate(list) rather than for i in range(len(mylist)) (From Poky rev: 33c21bc60bd1542f81d33c328f116dec424728cd) (Bitbake rev: 9b168239a5d9693573438eb6514938b81de85af3) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: show indicators on the tabs of the Hob notebookShane Wang2012-03-204-0/+33
| | | | | | | | | | | | This patch is to show the indicators (e.g., the number of the issues) in the build details page to highlight. (From Poky rev: 2e08a8e6818b8f1df7eaac499ebc3a5854efe7be) (Bitbake rev: f2eead1bc20c48b2f36e880a879a5a50e6e6567b) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: use HobNotebook to implement a notebook in build details pageShane Wang2012-03-202-5/+90
| | | | | | | | | | | | This patch is to use HobNotebook we defined to implement the notebook in the build details page. (From Poky rev: 792c5eb29cf44d9ef559ae59802327fb1bb2cb3c) (Bitbake rev: d51ad20aa00f2af6c7174910b31523fff0e5a639) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: implement a self-defined notebook visual component for HobShane Wang2012-03-204-111/+394
| | | | | | | | | | | | | | | | | | | | In recipe selection page, package selection page, and build details page, etc, there is a notebook component which is not gtk.Notebook in the design video. We implement the visual component with a drawing area, and use it to replace the old notebook in recipe selection page and package selection page. The reasons why we do it are: 1) General speaking, gtk.Notebook doesn't look like the designer worked out. (see https://wiki.yoctoproject.org/wiki/File:Hob1.2-screencast2.mov) 2) And the designer version looks better, for example, there is an indicator to show how many recipes or packages are included, and how many issues happened when building? Very straightforward. But technically, gtk.Notebook can't implement that, as far as we know. 3) Moreover, there is an entry for "search recipes", and "search packages". How to make it horizontal to the tabs is a problem to us. Regarding those, we give up gtk.Notebook and use our own. (From Poky rev: e4ebac226cc5e4589bcecd8bada9fde462e925cc) (Bitbake rev: b0c2ca3f600694c6d37924006de3f9474b2a9a8e) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runningbuild.py: fix goggle uiEric Bénard2012-03-201-2/+2
| | | | | | | | | | | | | | | * goggle ui actually fails with : Traceback (most recent call last): File ".../bitbake/lib/bb/ui/goggle.py", line 35, in event_handle_idle_func build.handle_event (event, pbar) File ".../bitbake/lib/bb/ui/crumbs/runningbuild.py", line 234, in handle_event pbar.update(0, None, bb.event.getName(event)) TypeError: update() takes exactly 3 arguments (4 given) (Bitbake rev: 815c113120b73331ecf32d6f57bc034f379bed43) Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/uihelper: Keep track of task numbersRichard Purdie2012-03-151-0/+5
| | | | | | | | | | Add code so the uihelper keeps track of how may tasks we've run and how many tasks there are in total so UIs don't have to track this information themselves. (Bitbake rev: 17e68cfc6018b93d19738a6a874dfdea23fbab11) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Change Box's padding valueDongxiao Xu2012-03-157-15/+15
| | | | | | | | | | 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: improve recipe/package selection performanceDongxiao Xu2012-03-153-7/+5
| | | | | | | | | | | | | | | | Originally we will send selection chagned notification in each include_item and exclude_item, which is time cost since these are recursive functions and we may select hundreds of recipes/packages. The improvement is to move the notification from include_item and exclude_item to the place where the two functions are called. This could greatly improve the selection/deselection speed for recipe and package lists. (Bitbake rev: 5ad7c54f4b8739b9ae097c68978093a53f950ed7) 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-153-2/+37
| | | | | | | | | 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: Emit command-failed signal even if error msg is NoneDongxiao Xu2012-03-152-9/+9
| | | | | | | (Bitbake rev: f4b5a9f243fcfb48cf01fa6f8bce35897debbd20) 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-152-3/+20
| | | | | | | | | 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 recipe/package populated signalDongxiao Xu2012-03-152-24/+8
| | | | | | | | | | | Handle the recipe and package list update in handler_command_succeeded_cb(), which could avoid potential race condition when doing recipe/package list updating and page switching. (Bitbake rev: 0c766a8c69782b2dd35a363dc9573b78f9d41995) 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-152-14/+8
| | | | | | | | | | | 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>
* Hob: Remove the reset button in recipe/package selection pageDongxiao Xu2012-03-153-26/+0
| | | | | | | (Bitbake rev: f576355686804631fd797e2a5d383a70f6fc42cd) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Fix the image installation dependencyDongxiao Xu2012-03-151-4/+2
| | | | | | | | | | Get the image installation content from rdepends and rrecommends variables. (Bitbake rev: a16b2245d7f5ef8509df0c543f9432c98367c79c) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Disable the handling of "NoProvider" eventDongxiao Xu2012-03-151-17/+20
| | | | | | | | | | | | | Currently for non-x86 architecture, there are un-resolved dependency issue when generate universe dependency tree. Therefore disable the handling of "NoProvider" event in Hob to enable the build for non-x86 architectures. After we resolved the dependency for universe, we still need to handle this event in Hob. (Bitbake rev: e3c5eed2244d7885418c59a62c9584f6397ee623) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: add "Close" button to "BinbDialog"Dongxiao Xu2012-03-151-2/+2
| | | | | | | | | | | | | For certain distributions, like FC16, it doesn't have close button in sub-windows or dialogs. Therefore we need to add an "Close" button to "BinbDialog" to close the dialog. Besides, let BinbDialog inherits the CrumbsDialog instead of gtk.Dialog (Bitbake rev: 5d33c355001bec91f4e4c3860db8d7ac2b449782) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hig: special case stock info icons in CrumbsMesssageDialogJoshua Lock2012-03-121-1/+5
| | | | | | | | | | | The Hob visual design includes an info icon which should be used consistently throught the GUI. This change detects use of the stock info icon in CrumbsMessageDialog and uses the Hob info icon instead. (Bitbake rev: 37ed1589a19ffc82e8638b5375c99158988b38fc) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hig: use HobInfoButton in place of gtk.Image with tooltipJoshua Lock2012-03-121-31/+15
| | | | | | | | | | Replace all instances of the stock info icon with an attached tooltip with the new HobInfoButton with associated PersistentTooltip. (Bitbake rev: cead9a2e32f0196536c51d3a0713c1f28a35bf3d) Signed-off-by: Joshua Lock <josh@linux.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>
* ui/crumbs/hobwidget: implement HobInfoButton per Hob interaction designJoshua Lock2012-03-121-0/+49
| | | | | | | | | | | | This button-like widget will display a persistent tooltip with the supplied Pango Markup when it is clicked by the user. This widget features prominently in the interaction design to offer help in a more prominent manner. (Bitbake rev: 43f33dcd6b7d1a08651cdf0715c2c2a9d488b103) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>