From 7bfb98568a1d7ba8dbd95332d65cd19faec6c725 Mon Sep 17 00:00:00 2001 From: Bogdan Marinescu Date: Thu, 10 Jan 2013 13:08:02 +0200 Subject: bitbake: hig.py: refactor into individual components Since hig.py was becoming too large (which impacted maintenance and operations like git merges) it was split into individual files for the classes that were implemented in hig.py. hig is now a Python package (lib/bb/ui/crumbs/hig/). The patch was tested by building core-image-basic/qemux86 in Hob and accessing the various UI elements implemented in hig. Note that the patch does not change the functionality of Hob in any way, it's just a code refactoring that should make life a bit easier for Hob developers. [YOCTO #3200] (Bitbake rev: a7a2b730f915cafe7aa30539622dd1ca64ae41f5) Signed-off-by: Bogdan Marinescu Signed-off-by: Richard Purdie --- bitbake/bin/image-writer | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bitbake/bin/image-writer') diff --git a/bitbake/bin/image-writer b/bitbake/bin/image-writer index 0b9e4505ae..86c38b5769 100755 --- a/bitbake/bin/image-writer +++ b/bitbake/bin/image-writer @@ -28,8 +28,10 @@ import gtk import optparse import pygtk -from bb.ui.crumbs.hig import DeployImageDialog, ImageSelectionDialog, CrumbsMessageDialog from bb.ui.crumbs.hobwidget import HobAltButton, HobButton +from bb.ui.crumbs.hig.crumbsmessagedialog import CrumbsMessageDialog +from bb.ui.crumbs.hig.deployimagedialog import DeployImageDialog +from bb.ui.crumbs.hig.imageselectiondialog import ImageSelectionDialog # I put all the fs bitbake supported here. Need more test. DEPLOYABLE_IMAGE_TYPES = ["jffs2", "cramfs", "ext2", "ext3", "btrfs", "squashfs", "ubi", "vmdk"] -- cgit v1.2.3-54-g00ecf