-
Committer:
Tarmac
-
Author(s):
Chris Townsend
-
Date:
2013-09-18 04:20:40 UTC
-
mfrom:
(3511.1.1 unity)
-
Revision ID:
tarmac-20130918042040-2exhetyhb2pdyofq
Make the mouse movement infinite while loop into a for loop and only iterate 10 times w/ a 0.5 second delay between movements. Raise an error if the correct icon is not found when the loop terminates.
Consolidate the autoscroll_to_icon() function into the move_mouse_to_icon() function and change move_mouse_to_icon() to handle autoscrolling offsets. Fixes: https://bugs.launchpad.net/bugs/1226639.
Approved by PS Jenkins bot, Brandon Schaefer.