From 1710f6fa87735d1aca600fcdc79f9d8d19864073 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 5 Aug 2014 17:45:44 +0200 Subject: Autopilot, Switcher: use correct right/left scroll buttons for next/prev mouse selection (bzr r3844.4.5) --- tests/autopilot/unity/emulators/switcher.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/autopilot/unity/emulators/switcher.py b/tests/autopilot/unity/emulators/switcher.py index 082e45bd0..8626412cf 100644 --- a/tests/autopilot/unity/emulators/switcher.py +++ b/tests/autopilot/unity/emulators/switcher.py @@ -189,14 +189,14 @@ class SwitcherController(UnityIntrospectionObject, KeybindingsHelper): def next_via_mouse(self): """Move to the next icon using the mouse scroll wheel.""" logger.debug("Selecting next item in switcher with mouse scroll wheel.") - self._mouse.press(6) - self._mouse.release(6) + self._mouse.press(7) + self._mouse.release(7) def previous_via_mouse(self): """Move to the previous icon using the mouse scroll wheel.""" logger.debug("Selecting previous item in switcher with mouse scroll wheel.") - self._mouse.press(7) - self._mouse.release(7) + self._mouse.press(6) + self._mouse.release(6) @property def detail_selection_index(self): -- cgit v1.2.3