]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
hob: change tooltip for live images
authorCristiana Voicu <cristiana.voicu@intel.com>
Mon, 7 Oct 2013 15:21:46 +0000 (18:21 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 7 Oct 2013 15:24:22 +0000 (16:24 +0100)
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 <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/ui/crumbs/hig/advancedsettingsdialog.py

index 86a65aee35221fb69eb9b52d0c92d3e92f73e706..5542471c7b2055428bd70d712a8bca3992f2179b 100644 (file)
@@ -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)