summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-12 17:30:27 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-14 14:43:23 +0100
commitac998632f75a9314d600126e7b479fc602804a20 (patch)
treef3b73e792d8d147f25d936b7b8609be95d66adae /bitbake
parent45da10943965193fd2d14b756b95e6f0f4ae9029 (diff)
downloadpoky-ac998632f75a9314d600126e7b479fc602804a20.tar.gz
Hob: A minor fix on tooltip
(Bitbake rev: b1449ce6ccf4e33eb2fd34829d2c435a464ae88b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hig.py5
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)