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:33 +0000 |
commit | 7bfb98568a1d7ba8dbd95332d65cd19faec6c725 (patch) | |
tree | 6a6d18d67a80e8ca862435d09c3ae63215659c7a /bitbake/bin/image-writer | |
parent | a746719a46e9277a118fd7d4a6342bb667034132 (diff) | |
download | poky-7bfb98568a1d7ba8dbd95332d65cd19faec6c725.tar.gz |
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 <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin/image-writer')
-rwxr-xr-x | bitbake/bin/image-writer | 4 |
1 files changed, 3 insertions, 1 deletions
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 | |||
28 | import optparse | 28 | import optparse |
29 | import pygtk | 29 | import pygtk |
30 | 30 | ||
31 | from bb.ui.crumbs.hig import DeployImageDialog, ImageSelectionDialog, CrumbsMessageDialog | ||
32 | from bb.ui.crumbs.hobwidget import HobAltButton, HobButton | 31 | from bb.ui.crumbs.hobwidget import HobAltButton, HobButton |
32 | from bb.ui.crumbs.hig.crumbsmessagedialog import CrumbsMessageDialog | ||
33 | from bb.ui.crumbs.hig.deployimagedialog import DeployImageDialog | ||
34 | from bb.ui.crumbs.hig.imageselectiondialog import ImageSelectionDialog | ||
33 | 35 | ||
34 | # I put all the fs bitbake supported here. Need more test. | 36 | # I put all the fs bitbake supported here. Need more test. |
35 | DEPLOYABLE_IMAGE_TYPES = ["jffs2", "cramfs", "ext2", "ext3", "btrfs", "squashfs", "ubi", "vmdk"] | 37 | DEPLOYABLE_IMAGE_TYPES = ["jffs2", "cramfs", "ext2", "ext3", "btrfs", "squashfs", "ubi", "vmdk"] |