~zsombi/ubuntu-ui-toolkit/alarm-sound-fix

« back to all changes in this revision

Viewing changes to tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_header.py

  • Committer: Tarmac
  • Author(s): Christian Dywan
  • Date: 2014-08-04 16:21:55 UTC
  • mfrom: (1143.6.18 uut.overflowPanel)
  • Revision ID: tarmac-20140804162155-3l7g4wb3k8zrd9ce
Square overflow panel style for header pop overs. Fixes: https://bugs.launchpad.net/bugs/1336789.

Approved by PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
181
181
 
182
182
        try:
183
183
            tab_button = self.get_root_instance().select_single(
184
 
                'Standard', objectName='tabButton' + str(index))
 
184
                objectName='tabButton' + str(index))
185
185
        except dbus.StateNotFoundError:
186
186
            raise _common.ToolkitException(
187
187
                "Tab button {0} not found.".format(index))
229
229
 
230
230
        # the popover is not a child of the header, so use the root object
231
231
        # to find the requested button
232
 
        return self.get_root_instance().select_single(
233
 
            'Standard', objectName=object_name)
 
232
        return self.get_root_instance().select_single(objectName=object_name)
234
233
 
235
234
 
236
235
class Header(AppHeader):