diff options
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hig.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py index 5cc8a5931a..322efc698f 100644 --- a/bitbake/lib/bb/ui/crumbs/hig.py +++ b/bitbake/lib/bb/ui/crumbs/hig.py | |||
@@ -392,7 +392,10 @@ class AdvancedSettingDialog (CrumbsDialog): | |||
392 | j = 1 | 392 | j = 1 |
393 | for image_type in self.image_types: | 393 | for image_type in self.image_types: |
394 | self.image_types_checkbuttons[image_type] = gtk.CheckButton(image_type) | 394 | self.image_types_checkbuttons[image_type] = gtk.CheckButton(image_type) |
395 | self.image_types_checkbuttons[image_type].set_tooltip_text("Build an %s image" % image_type) | 395 | article = "" |
396 | if image_type.startswith(("a", "e", "i", "o", "u")): | ||
397 | article = "n" | ||
398 | self.image_types_checkbuttons[image_type].set_tooltip_text("Build a%s %s image" % (article, image_type)) | ||
396 | table.attach(self.image_types_checkbuttons[image_type], j, j + 4, i, i + 1) | 399 | table.attach(self.image_types_checkbuttons[image_type], j, j + 4, i, i + 1) |
397 | if image_type in self.configuration.image_fstypes.split(): | 400 | if image_type in self.configuration.image_fstypes.split(): |
398 | self.image_types_checkbuttons[image_type].set_active(True) | 401 | self.image_types_checkbuttons[image_type].set_active(True) |