- add focus on the search widget

- correct double-click on the module treeview


git-svn-id: file:///home/svn/framework3/trunk@4380 4d416f70-5f16-0410-b530-b9f4589650da
unstable
fab 2007-02-13 17:04:16 +00:00
parent 22ec733f28
commit 6b45e0b15c
2 changed files with 5 additions and 1 deletions

View File

@ -78,6 +78,10 @@ class MyApp < MyGlade
# Initialize the search class
ModuleSearch.new(@search_entry, @search_button, @search_cancel_button)
# Focus on the search widget
@search_entry.can_focus = true
@search_entry.grab_focus
# Update the StatusBar with all framework modules
refresh()

View File

@ -89,7 +89,7 @@ class MyModuleTree < MyGlade
if (iter.get_value(APP) == "Standard")
treeview.selection.select_path(path)
active(iter)
MsfAssistant.new(@session_tree, iter.get_value(1))
MsfAssistant.new(@session_tree, @target_tree, iter.get_value(1))
end
end
rescue