diff options
author | Liming An <limingx.l.an@intel.com> | 2012-05-08 19:48:07 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-09 21:56:46 +0100 |
commit | 71b277acb12353eac21fddc2531c8bac886b058b (patch) | |
tree | 8e10221eb4eccec6711718785483f2527469daee /bitbake/lib/bb/ui/crumbs/hoblistmodel.py | |
parent | a75562aa8b62247d09c52c92a620b947d19bbb95 (diff) | |
download | poky-71b277acb12353eac21fddc2531c8bac886b058b.tar.gz |
Hob: add group number show and 'bold' visible effect for Package view
as ui design, add number of packages for each group, and make the
text font to 'bold' when row be selected
[YOCTO #2195]
(Bitbake rev: 5812176a679a39a4d096134c871c3d24a7e505ea)
Signed-off-by: Liming An <limingx.l.an@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hoblistmodel.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hoblistmodel.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py index 3f534328ae..0b54f91a12 100644 --- a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py +++ b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py | |||
@@ -34,7 +34,7 @@ class PackageListModel(gtk.TreeStore): | |||
34 | providing convenience functions to access gtk.TreeModel subclasses which | 34 | providing convenience functions to access gtk.TreeModel subclasses which |
35 | provide filtered views of the data. | 35 | provide filtered views of the data. |
36 | """ | 36 | """ |
37 | (COL_NAME, COL_VER, COL_REV, COL_RNM, COL_SEC, COL_SUM, COL_RDEP, COL_RPROV, COL_SIZE, COL_BINB, COL_INC, COL_FADE_INC) = range(12) | 37 | (COL_NAME, COL_VER, COL_REV, COL_RNM, COL_SEC, COL_SUM, COL_RDEP, COL_RPROV, COL_SIZE, COL_BINB, COL_INC, COL_FADE_INC, COL_FONT) = range(13) |
38 | 38 | ||
39 | __gsignals__ = { | 39 | __gsignals__ = { |
40 | "package-selection-changed" : (gobject.SIGNAL_RUN_LAST, | 40 | "package-selection-changed" : (gobject.SIGNAL_RUN_LAST, |
@@ -65,7 +65,8 @@ class PackageListModel(gtk.TreeStore): | |||
65 | gobject.TYPE_STRING, | 65 | gobject.TYPE_STRING, |
66 | gobject.TYPE_STRING, | 66 | gobject.TYPE_STRING, |
67 | gobject.TYPE_BOOLEAN, | 67 | gobject.TYPE_BOOLEAN, |
68 | gobject.TYPE_BOOLEAN) | 68 | gobject.TYPE_BOOLEAN, |
69 | gobject.TYPE_STRING) | ||
69 | 70 | ||
70 | 71 | ||
71 | """ | 72 | """ |
@@ -189,7 +190,7 @@ class PackageListModel(gtk.TreeStore): | |||
189 | self.COL_SEC, section, self.COL_SUM, summary, | 190 | self.COL_SEC, section, self.COL_SUM, summary, |
190 | self.COL_RDEP, rdep + ' ' + rrec, | 191 | self.COL_RDEP, rdep + ' ' + rrec, |
191 | self.COL_RPROV, rprov, self.COL_SIZE, size, | 192 | self.COL_RPROV, rprov, self.COL_SIZE, size, |
192 | self.COL_BINB, "", self.COL_INC, False) | 193 | self.COL_BINB, "", self.COL_INC, False, self.COL_FONT, '10') |
193 | 194 | ||
194 | """ | 195 | """ |
195 | Check whether the item at item_path is included or not | 196 | Check whether the item at item_path is included or not |