From: Cristiana Voicu Date: Mon, 7 Oct 2013 15:21:46 +0000 (+0300) Subject: hob: change tooltip for live images X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5051f59976de4e099bb434aeea414de5a67a069f;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git hob: change tooltip for live images This change is needed to inform the user that selecting live type means that the system will build a hddimg and iso image. Signed-off-by: Cristiana Voicu Signed-off-by: Richard Purdie --- diff --git a/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py b/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py index 86a65aee352..5542471c7b2 100644 --- a/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py +++ b/lib/bb/ui/crumbs/hig/advancedsettingsdialog.py @@ -234,7 +234,10 @@ class AdvancedSettingsDialog (CrumbsDialog, SettingsUIHelper): article = "" if image_type.startswith(("a", "e", "i", "o", "u")): article = "n" - self.image_types_checkbuttons[image_type].set_tooltip_text("Build a%s %s image" % (article, image_type)) + if image_type == "live": + self.image_types_checkbuttons[image_type].set_tooltip_text("Build iso and hddimg images") + else: + self.image_types_checkbuttons[image_type].set_tooltip_text("Build a%s %s image" % (article, image_type)) table.attach(self.image_types_checkbuttons[image_type], j - 1, j + 3, i, i + 1) if image_type in self.configuration.image_fstypes.split(): self.image_types_checkbuttons[image_type].set_active(True)