]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
Hob: fix the missing functions
authorShane Wang <shane.wang@intel.com>
Thu, 12 Apr 2012 14:22:43 +0000 (22:22 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Apr 2012 14:56:42 +0000 (15:56 +0100)
The patch is to correct 7e5d41ab223b73c1c7b2cf7e4dd13289a2dc2e8b
(Bitbake rev: b6e68019494044305ab28492a517d1eafea851c3) to fix the
missing functions.

[Yocto #2281]

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/ui/crumbs/packageselectionpage.py

index dce4874a23781717799442d6fe9769e8652e4563..104d49d1089538858d964ca2af00ea4cb722deb9 100755 (executable)
@@ -239,7 +239,11 @@ class PackageSelectionPage (HobPage):
         if (not cell) or (not tree):
             return
         to_render_cells = []
+        view_model = tree.get_model()
+        self.get_excluded_rows(to_render_cells, view_model, view_model.get_iter_first())
 
-    def after_fadeout_checkin_include(self, table, ctrl, cell, tree):
-        tree.set_model(self.recipe_model.tree_model(self.pages[0]['filter']))
+        cell.fadeout(tree, 1000, to_render_cells)
 
+    def after_fadeout_checkin_include(self, table, ctrl, cell, tree):
+        tree.set_model(self.package_model.tree_model(self.pages[0]['filter']))
+        tree.expand_all()