~allanlesage/unity8/dash-apps-visible-ordering

« back to all changes in this revision

Viewing changes to tests/autopilot/unity8/shell/emulators/dash.py

  • Committer: Allan LeSage
  • Date: 2014-04-02 17:57:38 UTC
  • mfrom: (784.1.25 unity8)
  • Revision ID: allan.lesage@canonical.com-20140402175738-ocei683rve0pj7wz
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
                'No scope found with id {0}'.format(scope_id))
81
81
 
82
82
    def _get_scope_from_loader(self, loader):
83
 
        if loader.scopeId == 'clickscope':
84
 
            return loader.select_single(DashApps)
85
 
        else:
86
 
            return loader.select_single(GenericScopeView)
 
83
        return loader.get_children()[0]
87
84
 
88
85
    def _open_scope_scrolling(self, scope_loader):
89
86
        scroll = self._get_scroll_direction(scope_loader)