summaryrefslogtreecommitdiff
path: root/tests
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2015-02-18 01:49:47 +0100
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2015-02-18 01:49:47 +0100
commit911453e01a9e8c03ae79a429f95b6e539d5392ed (patch)
tree19b51497cd9d95e55260b90b4da0f90a298d949c /tests
parent7341d15559cb9f91392e22778631257f3018ee26 (diff)
Autopilot, panel: add focused property
It actually reflects the menu view area (bzr r3899.2.74)
Diffstat (limited to 'tests')
-rw-r--r--tests/autopilot/unity/emulators/panel.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/autopilot/unity/emulators/panel.py b/tests/autopilot/unity/emulators/panel.py
index cff2e51eb..5c196f6ca 100644
--- a/tests/autopilot/unity/emulators/panel.py
+++ b/tests/autopilot/unity/emulators/panel.py
@@ -159,6 +159,10 @@ class UnityPanel(UnityIntrospectionObject, KeybindingsHelper):
return self.menus.panel_title
@property
+ def focused(self):
+ return self.menus.focused
+
+ @property
def desktop_is_active(self):
return self.menus.desktop_active