diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hig.py')
| -rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py index 74f4f7b98a..cbad899ae0 100644 --- a/bitbake/lib/bb/ui/crumbs/hig.py +++ b/bitbake/lib/bb/ui/crumbs/hig.py | |||
| @@ -28,7 +28,7 @@ import re | |||
| 28 | import subprocess | 28 | import subprocess |
| 29 | import shlex | 29 | import shlex |
| 30 | from bb.ui.crumbs.hobcolor import HobColors | 30 | from bb.ui.crumbs.hobcolor import HobColors |
| 31 | from bb.ui.crumbs.hobwidget import HobViewTable | 31 | from bb.ui.crumbs.hobwidget import hcc, HobViewTable |
| 32 | from bb.ui.crumbs.progressbar import HobProgressBar | 32 | from bb.ui.crumbs.progressbar import HobProgressBar |
| 33 | 33 | ||
| 34 | """ | 34 | """ |
| @@ -1083,9 +1083,10 @@ class ImageSelectionDialog (gtk.Dialog): | |||
| 1083 | dirs[:] = [] | 1083 | dirs[:] = [] |
| 1084 | for f in files: | 1084 | for f in files: |
| 1085 | for image_type in self.image_types: | 1085 | for image_type in self.image_types: |
| 1086 | if f.endswith('.' + image_type): | 1086 | for real_image_type in hcc.SUPPORTED_IMAGE_TYPES[image_type]: |
| 1087 | imageset.add(f.rsplit('.' + image_type)[0]) | 1087 | if f.endswith('.' + real_image_type): |
| 1088 | self.image_list.append(f) | 1088 | imageset.add(f.rsplit('.' + real_image_type)[0]) |
| 1089 | self.image_list.append(f) | ||
| 1089 | 1090 | ||
| 1090 | for image in imageset: | 1091 | for image in imageset: |
| 1091 | self.image_store.set(self.image_store.append(), 0, image, 1, False) | 1092 | self.image_store.set(self.image_store.append(), 0, image, 1, False) |
