diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-03-21 11:19:51 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-22 14:40:39 +0000 |
commit | df20012654672a5fc09d903221e23b971e0d21b9 (patch) | |
tree | c76ec79e3cd8f2c3f7438809ab52f5a89f9f3cc8 /bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | |
parent | 31124e675bd0a444b0d162a67f9623f9d1e7965a (diff) | |
download | poky-df20012654672a5fc09d903221e23b971e0d21b9.tar.gz |
Hob: Move "Create your own image" to the bottom of image list
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>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py index 076b2c0064..b0f0213091 100644 --- a/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py +++ b/bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py | |||
@@ -330,12 +330,15 @@ class ImageConfigurationPage (HobPage): | |||
330 | # append and set active | 330 | # append and set active |
331 | while it: | 331 | while it: |
332 | path = image_model.get_path(it) | 332 | path = image_model.get_path(it) |
333 | it = image_model.iter_next(it) | ||
333 | image_name = image_model[path][recipe_model.COL_NAME] | 334 | image_name = image_model[path][recipe_model.COL_NAME] |
335 | if image_name == self.builder.recipe_model.__dummy_image__: | ||
336 | continue | ||
334 | self.image_combo.append_text(image_name) | 337 | self.image_combo.append_text(image_name) |
335 | if image_name == selected_image: | 338 | if image_name == selected_image: |
336 | active = cnt | 339 | active = cnt |
337 | it = image_model.iter_next(it) | ||
338 | cnt = cnt + 1 | 340 | cnt = cnt + 1 |
341 | self.image_combo.append_text(self.builder.recipe_model.__dummy_image__) | ||
339 | self._image_combo_connect_signal() | 342 | self._image_combo_connect_signal() |
340 | 343 | ||
341 | self.image_combo.set_active(-1) | 344 | self.image_combo.set_active(-1) |