diff options
author | Bogdan Marinescu <bogdan.a.marinescu@intel.com> | 2013-01-10 13:08:02 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-16 12:51:17 +0000 |
commit | a7a2b730f915cafe7aa30539622dd1ca64ae41f5 (patch) | |
tree | f0cb295416aa859ef7514a11755a5981b5d923ee /bin | |
parent | dee7decf87dfa8cb966fe40846d27f3e6ab1846b (diff) | |
download | bitbake-a7a2b730f915cafe7aa30539622dd1ca64ae41f5.tar.gz |
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]
Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/image-writer | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/image-writer b/bin/image-writer index 0b9e4505a..86c38b576 100755 --- a/bin/image-writer +++ b/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"] |