_optionselector.py looks for Label delegates instead of UCLabel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
The autopilot helper for optionselector seeks Label delegates, rather than UCLabel delegates.
----------
def get_selected_
"""gets the text of the currently selected item"""
return current_label.text
def get_current_
"""gets the text of the currently selected item"""
return current_label
----------
Those select_single calls should use UCLabel.
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Christian Dywan (kalikiana) |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | Confirmed → Fix Committed |
assignee: | Christian Dywan (kalikiana) → nobody |
To confirm the fix, checkout rev 763 of lp:ubuntu-calendar-app, and run the calendar_ app.tests. test_new_ event.NewEventT estCase. test_new_ event_must_ start_with_ default_ values. It's a short test, and should fail without the change, and work with it.