From ee4fe5a229125d01cf8b697c759d0852f9a715a8 Mon Sep 17 00:00:00 2001 From: Cristiana Voicu Date: Thu, 25 Jul 2013 07:25:38 +0000 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/builder.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bitbake/lib/bb/ui/crumbs/builder.py') diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index a7bd21c923..317a2fe16d 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py @@ -1451,3 +1451,6 @@ class Builder(gtk.Window): self.consolelog.setFormatter(format) self.logger.addHandler(self.consolelog) + + def get_topdir(self): + return self.handler.get_topdir() -- cgit v1.2.3-54-g00ecf