summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hoblistmodel.py3
-rw-r--r--bitbake/lib/bb/ui/crumbs/imageconfigurationpage.py5
2 files changed, 5 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py
index 74b2a17e01..61f2911f89 100644
--- a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py
+++ b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py
@@ -412,7 +412,7 @@ class RecipeListModel(gtk.ListStore):
412 """ 412 """
413 (COL_NAME, COL_DESC, COL_LIC, COL_GROUP, COL_DEPS, COL_BINB, COL_TYPE, COL_INC, COL_IMG, COL_INSTALL, COL_PN) = range(11) 413 (COL_NAME, COL_DESC, COL_LIC, COL_GROUP, COL_DEPS, COL_BINB, COL_TYPE, COL_INC, COL_IMG, COL_INSTALL, COL_PN) = range(11)
414 414
415 __dummy_image__ = "Start from scratch" 415 __dummy_image__ = "Create your own image"
416 416
417 __gsignals__ = { 417 __gsignals__ = {
418 "recipe-selection-changed" : (gobject.SIGNAL_RUN_LAST, 418 "recipe-selection-changed" : (gobject.SIGNAL_RUN_LAST,
@@ -434,7 +434,6 @@ class RecipeListModel(gtk.ListStore):
434 gobject.TYPE_BOOLEAN, 434 gobject.TYPE_BOOLEAN,
435 gobject.TYPE_BOOLEAN, 435 gobject.TYPE_BOOLEAN,
436 gobject.TYPE_STRING, 436 gobject.TYPE_STRING,
437 gobject.TYPE_STRING,
438 gobject.TYPE_STRING) 437 gobject.TYPE_STRING)
439 438
440 """ 439 """
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)