summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs
Commit message (Collapse)AuthorAgeFilesLines
* lib/bb/ui/crumbs/hobprefs: fix erroneous save/reparseJoshua Lock2011-08-121-0/+1
| | | | | | | | | | | We need to unset the reload_required variable once we've triggered a reload so that we don't cause a reload each time the preferences dialog is shown and dismissed, regardless of whether anything has changed. (Bitbake rev: b3ad7acebfad3063c3364f4492f53b25bf53cf81) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/crumbs/configurator: introduce writeConfFile method for all writesJoshua Lock2011-08-121-27/+19
| | | | | | | | | | Configuration files are written in several places, this refactors the code to use a common method. (Bitbake rev: 2843645755abb736220d7404dc6e853929093ff9) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/crumbs/hobeventhandler: adapt to reset -> reparse changeJoshua Lock2011-08-121-0/+1
| | | | | | | | | | The API has changed from just a reparse call to a reset call followed by a reparse call. (Bitbake rev: c828ba571c3cf27d1bbd65184e287c45ef64de89) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/crumbs/tasklistmodel: don't include an item in its own dependsJoshua Lock2011-08-111-0/+3
| | | | | | | | | This causes the simple removal algorithm to perform needless circular logic (Bitbake rev: 396bbc220604c19ced4add30dd17f7f22d5e0022) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/crumbs/tasklistmodel: correctly uniquify dependency listJoshua Lock2011-08-111-1/+2
| | | | | | | | | | | Fix thinko - the squish method returns a uniquified list, it doesn't modify the list in place. Therefore the call to squish() was useless as its return value was never assigned. (Bitbake rev: 93bae8f223cdeb7b7e31c309b5d785b97ae1c2ac) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/crumbs/tasklistmodel: fix some typos and add comments to mark()Joshua Lock2011-08-111-7/+15
| | | | | | | | | | | | | | | | Two similarly named variables in the mark() method resulted in the wrong variable being used in a couple of places. This patch adresses this in several ways: 1) Renames the variables to be less similar 2) Uses the correct variables 3) Adds some coments to document the methods intent Partially addresses [YOCTO #1355] (Bitbake rev: ba9f2fe496eec0a221b563ffc9bb76eca592192f) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/crumbs/tasklistmodel: prevent hang when removing itemJoshua Lock2011-08-091-1/+3
| | | | | | | | | | | | | | It's possible to trigger an infinite recursion when removing a package where many of the dependencies share their dependencies. Prevent this by keeping a list of removed item names and only removing the item when it's not in the list. Addresses [YOCTO #1319] (Bitbake rev: 0ed58f28e869cceeefa930a3f1f46c5f3e9ffe21) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/crumbs/hobeventhandler: use generic loading message once cache loadedJoshua Lock2011-08-041-1/+2
| | | | | | | (Bitbake rev: 110d507c69c756657393809f57443b88841ad091) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/crumbs/tasklistmodel: fix regex used for loading image recipesJoshua Lock2011-08-041-1/+1
| | | | | | | | | Fixes [YOCTO #1321] (Bitbake rev: a0fb6583222f2d981a69f0dae81b40db6caaa0d5) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/crumbs/runningbuild: emit signal when command fails with exit signalJoshua Lock2011-08-031-0/+6
| | | | | | | | | | | | Emit the generic build-complete signal when a command fails with an exit signal enabling the UI to update itself accordingly. Addresses [YOCTO #1265] (Bitbake rev: 25ec13075855f7e321a9763682a8cd4ca09203cd) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/runningbuild: add optional readonly mode, default offJoshua Lock2011-08-031-2/+3
| | | | | | | | | | | | | | | | In b947e7aa405966262c0614cae02e7978ec637095 Bob started to introduce code for a right-click menu, whilst most of the code is non-invasive it does enable the editable property of the gtk.TreeView which can be confusing. This change adds a readonly parameter, defaulting to False, to the RunningBuildTreeView which if True will prevent the editable property from being set. CC: Bob Foerster <robert@erafx.com> (Bitbake rev: d1d6bfab1789d8c0a4faa109bcc06b3cefe62620) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bb/ui/crumbs/runningbuild: optionally create list entries sequentiallyJoshua Lock2011-08-031-16/+21
| | | | | | | | | | | | | | | | | | | | | In b947e7aa405966262c0614cae02e7978ec637095 Bob changed the behaviour of the RunningBuildModel such that the items are added to the model in a non-sequential order. The messages in the view being listed out of order from how they are received is undesirable for users of the hob UI, therefore this patch adds an optional sequential parameter to the RunningBuild initialiser which, when set to True, will always append new messages so that the order shown in the view is that the messages are received in. The parameter defaults to to False such that the behaviour added by Bob is preserved. Partially addresses [YOCTO #1311] CC: Bob Foerster <robert@erafx.com> (Bitbake rev: b16663e1919fddbf63d0ca7f9ad3ffdc7d1121fd) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hob: remove temporary directory on program shutdownJoshua Lock2011-08-021-5/+21
| | | | | | | | | | | | Move temp directory handling into the HobEventHandler and clean up the temporary files on program close. Fixes [YOCTO #1307] (Bitbake rev: 1009ca570a750a00b0e60afcc30ead070c7b310a) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/layereditor: if layer adding fails show an explanatory dialogJoshua Lock2011-08-021-2/+18
| | | | | | | | | When adding a layer fails try to explain why to the user. (Bitbake rev: 2f7eadfdd710f84a299d6fc7be67ddb089f03ecc) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/configurator: tweak addLayerConf return valuesJoshua Lock2011-08-021-2/+5
| | | | | | | | | | Use different return types when adding failed versus when the layer is already enabled. (Bitbake rev: 906854d75a12c8752efb1e4065eaf1a10b191612) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hobeventhandler: emit a signal when a command failsJoshua Lock2011-08-021-1/+4
| | | | | | | | | If a CommandFailed event is seen emit a signal with the error message. (Bitbake rev: 15cc4fe5051dcb6ac5915e10228b5f3d3ed845bd) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hobeventhandler: emit a signal when there's a fatal-errorJoshua Lock2011-08-021-2/+21
| | | | | | | | | | If the cooker encounters an error we're unable to proceed so emit a signal so that UI's can notify the user and exit. (Bitbake rev: b6f6edd5090e933ac97a65f93ea9d1b255fca811) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hobeventhandler: remove unused codeJoshua Lock2011-08-021-18/+0
| | | | | | | | | Remove some unused variables and methods. (Bitbake rev: b1b02d523c6281615b72255774ed455b4cae4847) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hob: fix save/restore of toolchain preferencesJoshua Lock2011-08-012-1/+21
| | | | | | | | | | Add some (namespaced) custom variables to the configuration file for sake of this UI. (Bitbake rev: c9dd2592434338bdddb3cc6f42e760c86fa9e6bb) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hob: more reliable disabling of GPLv3 packagesJoshua Lock2011-08-013-17/+34
| | | | | | | | | | | | | | | | | | | | 1. reflect GPLv3's presence in INCOMPATIBLE_LICENSE value in the UI The hob UI currently only supports GPLv3 as a value for INCOMPATIBLE_LICENSE but doesn't properly reflect whether the value is already set. This patch rectifies this. 2. don't stomp over other INCOMPATIBLE_LICENSE values when disabling GPLv3 In case the user has other values set for INCOMPATIBLE_LICENSE we don't want to overwrite the value, we want to modify it. Fixes [#1286] (Bitbake rev: 68b992922bc7148d657a1c706c6acc67812a87c0) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hobprefs: trigger reparse when package format changedJessica Zhang2011-07-271-0/+1
| | | | | | | | | | | | | reload_data after package format change to make the change take effects in next build. Fixes [YOCTO #1287]. (Bitbake rev: fb47c7452455f3f8d943b21dd61300ec55eea141) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hob: fix loading customised image recipeJoshua Lock2011-07-271-1/+1
| | | | | | | | | | | | | | The signal handler of the 'Base image' combo was still connected during load such that updating the UI to reflect the loaded base image triggered a change of the model. Fix this by disconnecting the signal handler when updating the displayed 'Base image'. Fixes [YOCTO #1282] (Bitbake rev: 58036a79cb79d1dff307e2cfed0e684493178507) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/tasklistmodel: work around overly aggressive package removalJoshua Lock2011-07-271-3/+22
| | | | | | | | | | | | | | | | | | | | | The mark() method, which removes dependent and rdependent items, is overly aggressive removing items which are actually required by user selected items and then causing a removal of those items. Because the data structures used are not fine grained enough to do more intelligent dependency tracking the simplest "fix" is to track removals which are marked as "User Selected" and re-add those (and therefore their dependencies) once the aggressive removal is completed. Because the aggressive removal already ignores images and tasks this should make the removal behave as expected though certainly leaves area for improvement in future. Fixes [YOCTO #1280]. (Bitbake rev: 1e1055262450de994202fc3e5943b8b19f628681) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/tasklistmodel: fix loading a saved recipeJessica Zhang2011-07-261-1/+1
| | | | | | | | | | | | | use the correct variable userpkgs instead of packages during reload saved bb file that contains user customization. Fixes [YOCTO #1289] (Bitbake rev: 2650be190afc05f9472aca8b11af99205a342838) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/tasklistmodel: don't iterate whole model in find_alt_dependency()Joshua Lock2011-07-261-10/+9
| | | | | | | | | | | The method needs to find an included item anyway so rather than iterating the entire model and checking the included status of each entry iterate over the contents gtk.TreeFilter. (Bitbake rev: 79bdd501075ff5164a8ee673a6a2a0e402978ae5) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/tasklistmodel: handle items added in by base image being removedJoshua Lock2011-07-261-1/+15
| | | | | | | | | | | | | | When building an image based on an existing image we need to correctly handle removals from that images package set. Do so by testing if any of the items brought in by the base image are removed and, if so, building an image from scratch with all of the selected packages included. Fixes [YOCTO #1232] (Bitbake rev: 812ead4900714545850698d8ce29194f4ee8db0e) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/hob: enable building an image with minimal contentsJoshua Lock2011-07-261-2/+12
| | | | | | | | | | | | This patch enables a user to build a rootfs containing only the selected packages without having to have first selected a 'Base image'. Fixes [YOCTO #1239] (Bitbake rev: 05c82da31a69c910e72b58b07afcd9fca8c55479) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/hob: switch from buildFile to buildTargets for custom image buildsJoshua Lock2011-07-262-18/+67
| | | | | | | | | | | | | | | We need to use the buildTargets command to ensure dependencies, such as native tools to build the rootfs, are correctly included. This patch achieves this by modifying BBPATH and BBFILES to include matches for the location of the generated recipe file and reparsing the metadata before calling buildTargets. Fixes [YOCTO #1228] (Bitbake rev: 5840d59098141e773c12bea8ed8d9f4f1a706132) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hobeventhandler: reparse files before running other commandsJoshua Lock2011-07-261-3/+5
| | | | | | | | | | Integrate reparseFiles into the run_next_command() method rather than calling reparseFiles on the server and immediately calling other methods. (Bitbake rev: 20f7218992cfe18f1d3dcea53f2e5a7bf96346db) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/hob: replace the ugly static command mapJoshua Lock2011-07-261-26/+34
| | | | | | | | | | | | | | The command_map was never a good idea, what's implemented here is a fraction less ugly but a significant factor more readable and therefore easy to maintain. The method implemented in this patch also has the advantage of not being static meaning we can determine the desired runCommand arguments dynamically at call time. (Bitbake rev: 8b11c68ffcda355d0ba49cfc27790d245192ae24) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hob: rework image output type settingJoshua Lock2011-07-253-24/+53
| | | | | | | | | | | | | | | | | The preferences UI to set the image output type only supported setting a single value whereas it's common practice, particularly for those making use of the ADT, to set multiple values. This is also the default in Poky. This reworked preferences UI dynamically generates check boxes for each available image type and sets an appropriate string representing all image types when checkboxes are toggled. Includes fixes for [YOCTO #1273] (Bitbake rev: f7f68847dd165f2ad0f39011db4ebfef3ae73f42) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hobprefs: tweak the package format tooltipJoshua Lock2011-07-251-1/+2
| | | | | | | (Bitbake rev: 5f774ef02743c09d181395f15fc9262e7a67ef5c) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hobprefs: set higher arbitrary limit on threads & parallelismJoshua Lock2011-07-251-1/+6
| | | | | | | | | | | | | | We don't have a good handle on a sane cap value so just set it to an arbitrary, but reasonably high, number. Once we have some more numbers on values for number of threads and make parallelism we can integrate the algorithm into the GUI. Addresses [YOCTO #1266] (Bitbake rev: 31274e78eab502f5eb9f6079897644b535d31dd1) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hob: only add new layer's to the UIJoshua Lock2011-07-252-3/+6
| | | | | | | | | | | | | | | If a user added the same layer more than once the underlying bblayers.conf file would not have multiple entries but the UI would show an entry for the layer for each time it was added. This patch changes the Configurator to return None values if the layer wasn't added to bblayers.conf and the LayerEditor to only update the UI if non-None values are returned. Fixes [YOCTO #1275] (Bitbake rev: 9c59baa4da3c863ebc412a56ffd8dbd7a8ffeb60) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/tasklistmodel: don't show native and cross recipesJoshua Lock2011-07-251-0/+3
| | | | | | | | | Addresses [YOCTO #1224] (Bitbake rev: 80f8d796392cbf3c54149c06347c35f871fc2d79) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/tasklistmodel: ignore tasks and images when marking dependenciesJoshua Lock2011-07-211-4/+17
| | | | | | | | | | | | | | | When calculating what dependencies are affected by the removal of an item we should ignore images and tasks as they are not constructs which make sense in the GUI. E.g: if we don't ignore tasks and remove opkg from an image based on core-image-minimal the fact that opkg was brought in by task-core results in task-core and all of the packages it brought in being removed and, eventually, an empty image. (Bitbake rev: 205b52bfc7f28af0c50fef1f741fae6af16fb0dc) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/configurator: write new lines after new entriesJoshua Lock2011-07-211-1/+1
| | | | | | | | | | New entries written to a configuration file should be on separate lines, ensure this is the case by appending a newline to each written variable. (Bitbake rev: bac689fc34ea55c062d60ef249b79faa35f546a1) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/tasklistmodel: fix saving recipesJoshua Lock2011-07-211-2/+1
| | | | | | | | | | | | | After switching to dynamically finding the relative path for the recipe file it's no longer to append .bb when inserting the require line into the saved recipe. Fixes [YOCTO #1247] (Bitbake rev: 2d05ce4f527daa905ed64485029ebeb2b349daa6) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/hobprefs: add missing importJoshua Lock2011-07-211-0/+1
| | | | | | | | | | | glib.idle_add is used so the glib module must be imported Fixes [YOCTO #1248] (Bitbake rev: 0ab099f6ff4cc4e92484282d2dee442e55471e0c) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/tasklistmodel: fix automatic removal of orphaned itemsJoshua Lock2011-07-131-15/+19
| | | | | | | | | | | | | | | | | The sweep_up() method intends to remove all packages with an empty brought in by column, this patch changes the implementation to be more reliable. Each time a removal is triggered we begin interating the contents model again at the beginning, only once the contents model has been iterated from start to finish without any removals can we be certain that there will be no more orphaned items. Fixes [YOCTO #1218] (Bitbake rev: 4803c6d3d1db31105d98a7f71596875333db0dc5) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/tasklistmodel: update brought in by column when possibleJoshua Lock2011-07-131-4/+10
| | | | | | | | | | | | | | When a package is orphaned we were not correctly updating the brought-in-by column if a later package additon would have brought that package in as a dependency. This patch ensures that orphan packages are correctly re-parented when appropriate. Partially addresses [YOCTO #1218] (Bitbake rev: 570405f2f5a3976b308ef825ef477fb5cb6ee804) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ui/crumbs/tasklistmodel: fix reset methodJoshua Lock2011-07-081-4/+16
| | | | | | | | | | | | | The reset() method only touched the contents sub-model, which does not include the selected image(s). This patch ensures that reset correctly unsets any image selection when called. Further we re-initialise the COL_IMG column when resetting packages. (Bitbake rev: f3fbc97471961042e5eb8224dc07dcc04293efcf) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* hob: re-designed interaction and implementationJoshua Lock2011-07-057-125/+1199
| | | | | | | | | | | | | | | | | | | | | Highlights include: * Atempted GNOME HIG compliance * Simplified UI and interaction model * Sorting and type to find in tree views * Preferences dialog to modify local settings * Dialog to add and remove layers * Search in packages list * Save/Load image recipes The build model has been changed, hob will attempt to build all dependent packages of an image and then use the buildFile server method to build the created image. (Bitbake rev: 48e64acaae4a741b9f5630f426fb4e6142755c2c) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/ui: Fix Gtk+ GUI's after recent cache changesJoshua Lock2011-05-162-1/+5
| | | | | | | (Bitbake rev: 2bc8f405ec552ae0f1a79790569b2d044a35d3ba) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake/hob: only show one progress dialog when changing machineJoshua Lock2011-02-251-1/+0
| | | | | | | Remove a spurious signal emission which resulted in two progress dialogs being shown after changing the machine. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* bitbake/progress: make progress dialog modal for parent windowJoshua Lock2011-02-241-2/+1
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* bitbake: Add new UI hob, a prototype Gtk+ GUI for creating imagesJoshua Lock2011-02-241-0/+138
| | | | | | Hob is a first stab at implementing an interactive GUI for BitBake. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* bitbake/progress: add method to pulse the progress barJoshua Lock2011-02-241-0/+4
| | | | | | | | When we're running a long operation with indeterminate duration it's useful to use the gtk.ProgressBar's pulse method to show that something is happening but we don't know how long it will take. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* bitbake/crumbs: update documentation headerJoshua Lock2011-02-241-1/+1
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* bitbake: introduce crumbs.TaskListModel a gtk.ListStore subclassJoshua Lock2011-02-241-0/+346
| | | | | | | | | | | Provide a gtk.ListStore subclass which includes a function, populate(), which takes as input the data emitted by bb.event.TargetsTreeGenerated and fills the ListStore model appropriately. Furthermore convenience functions are provided by which the caller can get gtk.TreeModel subclasses which provide filtered views of the data. Signed-off-by: Joshua Lock <josh@linux.intel.com>