diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2015-10-30 18:08:02 +0100 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2015-10-30 18:08:02 +0100 |
| commit | 0ad10382f5364f6d5982a29370ba7bc18c312d4e (patch) | |
| tree | 2a33a7711965bba86e6e75dd6c90df38adf7f3bd /tests | |
| parent | 34843e525319af5ed7ee3befc3b63e586250c2b9 (diff) | |
SwitcherModel: make possible to add and remove icons at runtime
Icons are kept in order at this level (bzr r4027.5.3)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/autopilot/unity/emulators/switcher.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/autopilot/unity/emulators/switcher.py b/tests/autopilot/unity/emulators/switcher.py index 8626412cf..9bd9a256c 100644 --- a/tests/autopilot/unity/emulators/switcher.py +++ b/tests/autopilot/unity/emulators/switcher.py @@ -93,11 +93,11 @@ class SwitcherController(UnityIntrospectionObject, KeybindingsHelper): """Returns the SwitcherMode that the switcher is currently in.""" if not self.visible: return None - if self.model.detail_selection and not self.model.only_detail_on_viewport: + if self.model.detail_selection and not self.model.only_apps_on_viewport: return SwitcherMode.DETAIL, SwitcherMode.ALL elif self.model.detail_selection: return SwitcherMode.DETAIL - elif not self.model.only_detail_on_viewport: + elif not self.model.only_apps_on_viewport: return SwitcherMode.ALL else: return SwitcherMode.NORMAL @@ -115,7 +115,7 @@ class SwitcherController(UnityIntrospectionObject, KeybindingsHelper): elif mode == SwitcherMode.ALL: logger.debug("Initiating switcher in 'all workspaces' mode. Ctrl+Alt+Tab") self.keybinding_hold_part_then_tap("switcher/reveal_all") - self.model.only_detail_on_viewport.wait_for(False) + self.model.only_apps_on_viewport.wait_for(False) def next_icon(self): """Move to the next icon.""" |
