From: Kang Kai Date: Tue, 28 Aug 2012 02:47:20 +0000 (+0800) Subject: bitbake: hob2: remove class hcc X-Git-Tag: rev_ivi_2015_02_04~15651 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5bf3a19189abb7855691e9e9521fbdd6a570885a;p=scm%2Fbb%2Ftizen-distro.git bitbake: hob2: remove class hcc Because class hcc is useless, remove it. (Bitbake rev: 08d4a0f76542e05755c298b3875ea373e5512e13) Signed-off-by: Kang Kai Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index 5421fb6..522bd1d 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py @@ -34,7 +34,7 @@ from bb.ui.crumbs.recipeselectionpage import RecipeSelectionPage from bb.ui.crumbs.packageselectionpage import PackageSelectionPage from bb.ui.crumbs.builddetailspage import BuildDetailsPage from bb.ui.crumbs.imagedetailspage import ImageDetailsPage -from bb.ui.crumbs.hobwidget import hwc, HobButton, HobAltButton, hcc +from bb.ui.crumbs.hobwidget import hwc, HobButton, HobAltButton from bb.ui.crumbs.hig import CrumbsMessageDialog, ImageSelectionDialog, \ AdvancedSettingDialog, LayerSelectionDialog, \ DeployImageDialog diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py index 6829927..6b573a8 100644 --- a/bitbake/lib/bb/ui/crumbs/hig.py +++ b/bitbake/lib/bb/ui/crumbs/hig.py @@ -30,7 +30,7 @@ import shlex import subprocess import tempfile from bb.ui.crumbs.hobcolor import HobColors -from bb.ui.crumbs.hobwidget import hcc, hic, HobViewTable, HobInfoButton, HobButton, HobAltButton, HobIconChecker +from bb.ui.crumbs.hobwidget import hic, HobViewTable, HobInfoButton, HobButton, HobAltButton, HobIconChecker from bb.ui.crumbs.progressbar import HobProgressBar import bb.ui.crumbs.utils import bb.process diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index 540dde0..dac2f74 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py @@ -22,7 +22,6 @@ import gobject import logging from bb.ui.crumbs.runningbuild import RunningBuild -from bb.ui.crumbs.hobwidget import hcc class HobHandler(gobject.GObject): diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py index d10c56b..7c23440 100644 --- a/bitbake/lib/bb/ui/crumbs/hobwidget.py +++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py @@ -63,35 +63,6 @@ class hic: ICON_INDI_TICK_FILE = os.path.join(HOB_ICON_BASE_DIR, ('indicators/tick.png')) ICON_INDI_INFO_FILE = os.path.join(HOB_ICON_BASE_DIR, ('indicators/info.png')) -class hcc: - - SUPPORTED_IMAGE_TYPES = { - "jffs2" : ["jffs2"], - "sum.jffs2" : ["sum.jffs2"], - "cramfs" : ["cramfs"], - "ext2" : ["ext2"], - "ext2.gz" : ["ext2.gz"], - "ext2.bz2" : ["ext2.bz2"], - "ext3" : ["ext3"], - "ext3.gz" : ["ext3.gz"], - "ext2.lzma" : ["ext2.lzma"], - "btrfs" : ["btrfs"], - "live" : ["hddimg", "iso"], - "squashfs" : ["squashfs"], - "squashfs-lzma" : ["squashfs-lzma"], - "ubi" : ["ubi"], - "tar" : ["tar"], - "tar.gz" : ["tar.gz"], - "tar.bz2" : ["tar.bz2"], - "tar.xz" : ["tar.xz"], - "cpio" : ["cpio"], - "cpio.gz" : ["cpio.gz"], - "cpio.xz" : ["cpio.xz"], - "vmdk" : ["vmdk"], - "cpio.lzma" : ["cpio.lzma"], - "elf" : ["elf"], - } - class HobViewTable (gtk.VBox): """ A VBox to contain the table for different recipe views and package view