- 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-b9f4589650daunstable
parent
22ec733f28
commit
6b45e0b15c
|
@ -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()
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue