- expand the treeview after performing a seach in module tree

git-svn-id: file:///home/svn/framework3/trunk@4375 4d416f70-5f16-0410-b530-b9f4589650da
unstable
fab 2007-02-13 15:26:38 +00:00
parent cde840f453
commit 817160dacb
2 changed files with 9 additions and 0 deletions

View File

@ -250,6 +250,13 @@ class MyModuleTree < MyGlade
@model.remove(iter)
end
end
#
# expand the treeview
#
def expand
@treeview1.expand_all
end
end # Class MyExploitsTree

View File

@ -46,7 +46,9 @@ class ModuleSearch
state(RUNNING)
# pass the found array to the MyModuleTree and remove all not matched iter
# and finish by expanding the treeview
$gtk2driver.module_tree.remove(found)
$gtk2driver.module_tree.expand
end