Commit 5d19b080 authored by anonym's avatar anonym
Browse files

Remove dead code.

parent ddcf83b3
......@@ -26,21 +26,6 @@ def activate_filesystem_shares
end
end
def context_menu_helper(top, bottom, menu_item)
try_for(60) do
t = @screen.wait(top, 10)
b = @screen.wait(bottom, 10)
# In Sikuli, lower x == closer to the left, lower y == closer to the top
assert(t.y < b.y)
center = Sikuli::Location.new(((t.x + t.w) + b.x)/2,
((t.y + t.h) + b.y)/2)
@screen.right_click(center)
@screen.hide_cursor
@screen.wait_and_click(menu_item, 10)
return
end
end
def deactivate_filesystem_shares
$vm.list_shares.each do |share|
$vm.execute("umount #{share}")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment