** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: Confirmed => Fix Committed
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Assignee: Christian Dywan (kalikiana) => (unassigned)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1552773
Title:
_optionselector.py looks for Label delegates instead of UCLabel
Status in ubuntu-ui-toolkit package in Ubuntu:
Fix Committed
Bug description:
The autopilot helper for optionselector seeks Label delegates, rather than
UCLabel delegates.
----------
def get_selected_text(self):
"""gets the text of the currently selected item"""
option_selector_delegate = self.select_single(
'OptionSelectorDelegate', focus='True')
current_label = option_selector_delegate.select_single(
'Label', visible='True')
return current_label.text
def get_current_label(self):
"""gets the text of the currently selected item"""
option_selector_delegate = self.select_single(
'OptionSelectorDelegate', focus='True')
current_label = option_selector_delegate.select_single(
'Label', visible='True')
return current_label
----------
Those select_single calls should use UCLabel.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1552773/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp