on xenial help sign in
Correctly color the session chooser icons
62908b0Josh Arenson
qml/Greeter/SessionsList.qml+5
@@ -48,8 +48,13 @@ Item {
48 model: LightDMService.sessions
48 model: LightDMService.sessions
49 delegate: UnitySelectorDelegate {
49 delegate: UnitySelectorDelegate {
50 objectName: "sessionDelegate" + index
50 objectName: "sessionDelegate" + index
51+ colorImage: true
51 iconSource: icon_url
52 iconSource: icon_url
52 text: display
53 text: display
54+
55+ // This matches the color for LoginList
56+ assetColor: selected ? theme.palette.normal.backgroundText :
57+ theme.palette.normal.raisedSecondaryText
53 textColor: selected ? theme.palette.normal.selectionText : theme.palette.normal.raisedText
58 textColor: selected ? theme.palette.normal.selectionText : theme.palette.normal.raisedText
54 selected: key === initiallySelectedSession
59 selected: key === initiallySelectedSession
55 }
60 }