summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hoblistmodel.py
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2013-07-25 07:25:38 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-06 13:02:23 +0100
commitee4fe5a229125d01cf8b697c759d0852f9a715a8 (patch)
tree0c00f7f0fcf78db9e3ccb0b44a8cd51ce5685011 /bitbake/lib/bb/ui/crumbs/hoblistmodel.py
parent843ef1083243e1569d6cc429ae26e22dda699149 (diff)
downloadpoky-ee4fe5a229125d01cf8b697c759d0852f9a715a8.tar.gz
bitbake: hob: create save image dialog used to save a template
Implemented a new dialog used by Hob. This dialog was desinged in order to permit to save only in a particular directory. Also, it has a field where the user can type a description for the image. Implemented in the handler a method to retrieve the topdir variable, because the changes will be saved in {topdir}/recipes/images directory. [YOCTO #4193] (Bitbake rev: 117d4809a62e28ffe7e9dcda5433993d76f7d934) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hoblistmodel.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hoblistmodel.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py
index 94c2453abd..d8f3256e10 100644
--- a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py
+++ b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py
@@ -882,3 +882,6 @@ class RecipeListModel(gtk.ListStore):
882 882
883 def get_custom_image_version(self): 883 def get_custom_image_version(self):
884 return self.custom_image_version 884 return self.custom_image_version
885
886 def is_custom_image(self):
887 return self.get_selected_image() == self.__custom_image__