Patchwork [bitbake-devel] packageselectionpage: add missing method

login
register
mail settings
Submitter Joshua Lock
Date April 12, 2012, 1:54 a.m.
Message ID <1334195657-8240-1-git-send-email-josh@linux.intel.com>
Download mbox | patch
Permalink /patch/25643/
State Accepted
Commit b6e68019494044305ab28492a517d1eafea851c3
Headers show

Comments

Joshua Lock - April 12, 2012, 1:54 a.m.
From: Joshua Lock <josh@linux.intel.com>

This is just a copy of the same method from the recipeselectionpage so
that we can actually run hob again.

Fixes [YOCTO #2281]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
 lib/bb/ui/crumbs/packageselectionpage.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
Joshua Lock - April 12, 2012, 3:44 p.m.
On 11/04/12 18:54, josh@linux.intel.com wrote:
> From: Joshua Lock<josh@linux.intel.com>
>
> This is just a copy of the same method from the recipeselectionpage so
> that we can actually run hob again.
>
> Fixes [YOCTO #2281]

Shane has sent the correct fix. Please disregard this patch.

Cheers,
Joshua

Patch

diff --git a/lib/bb/ui/crumbs/packageselectionpage.py b/lib/bb/ui/crumbs/packageselectionpage.py
index b1b9722..dce4874 100755
--- a/lib/bb/ui/crumbs/packageselectionpage.py
+++ b/lib/bb/ui/crumbs/packageselectionpage.py
@@ -239,3 +239,7 @@  class PackageSelectionPage (HobPage):
         if (not cell) or (not tree):
             return
         to_render_cells = []
+
+    def after_fadeout_checkin_include(self, table, ctrl, cell, tree):
+        tree.set_model(self.recipe_model.tree_model(self.pages[0]['filter']))
+