diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py index 6b46a6212a..652226c13f 100644 --- a/bitbake/lib/bb/ui/crumbs/hig.py +++ b/bitbake/lib/bb/ui/crumbs/hig.py | |||
@@ -886,7 +886,7 @@ class LayerSelectionDialog (CrumbsDialog): | |||
886 | # Trailing slashes are uncommon in bblayers.conf but confuse os.path.basename | 886 | # Trailing slashes are uncommon in bblayers.conf but confuse os.path.basename |
887 | path.rstrip('/') | 887 | path.rstrip('/') |
888 | name = os.path.basename(path) | 888 | name = os.path.basename(path) |
889 | if name == "meta": | 889 | if name == "meta" or name == "meta-hob": |
890 | cell.set_sensitive(False) | 890 | cell.set_sensitive(False) |
891 | cell.set_property('pixbuf', None) | 891 | cell.set_property('pixbuf', None) |
892 | cell.set_property('mode', gtk.CELL_RENDERER_MODE_INERT) | 892 | cell.set_property('mode', gtk.CELL_RENDERER_MODE_INERT) |
@@ -907,6 +907,8 @@ class LayerSelectionDialog (CrumbsDialog): | |||
907 | name = os.path.basename(path) | 907 | name = os.path.basename(path) |
908 | if name == "meta": | 908 | if name == "meta": |
909 | cell.set_property('markup', "<b>Core layer for images: it cannot be removed</b>\n%s" % path) | 909 | cell.set_property('markup', "<b>Core layer for images: it cannot be removed</b>\n%s" % path) |
910 | elif name == "meta-hob": | ||
911 | cell.set_property('markup', "<b>Core layer for Hob: it cannot be removed</b>\n%s" % path) | ||
910 | else: | 912 | else: |
911 | cell.set_property('text', path) | 913 | cell.set_property('text', path) |
912 | 914 | ||