ui/crumbs/tasklistmodel: don't iterate whole model in find_alt_dependency()
authorJoshua Lock <josh@linux.intel.com>
Tue, 26 Jul 2011 02:44:57 +0000 (19:44 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Jul 2011 19:15:48 +0000 (20:15 +0100)
commitb2db1eb78cf733bf90c20e66ab45b0adf7ccc5b6
tree90da8e5a79b0268a89a79228a7df1880d0fed136
parented8a7f03489c3cbbecf2d99bc14d08b74d70d6af
ui/crumbs/tasklistmodel: don't iterate whole model in find_alt_dependency()

The method needs to find an included item anyway so rather than iterating
the entire model and checking the included status of each entry iterate
over the contents gtk.TreeFilter.

(Bitbake rev: 79bdd501075ff5164a8ee673a6a2a0e402978ae5)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/ui/crumbs/tasklistmodel.py