on xenial help sign in
Removed stuff from the greeter, don't needed, made shell.background reaonly alias of crossfadeimage used in the shell
1f87791Andrea Cimitan
Shell.qml+1−5
@@ -43,7 +43,7 @@ FocusScope {
43
43
44 property real edgeSize: units.gu(2)
44 property real edgeSize: units.gu(2)
45 property url defaultBackground: shell.width >= units.gu(60) ? "graphics/tablet_background.jpg" : "graphics/phone_background.jpg"
45 property url defaultBackground: shell.width >= units.gu(60) ? "graphics/tablet_background.jpg" : "graphics/phone_background.jpg"
46− property url background: backgroundImage.source
46+ readonly property alias background: backgroundImage.source
47 readonly property real panelHeight: panel.panelHeight
47 readonly property real panelHeight: panel.panelHeight
48
48
49 property bool dashShown: dash.shown
49 property bool dashShown: dash.shown
@@ -443,10 +443,6 @@ FocusScope {
443 }
443 }
444
444
445 onUnlocked: greeter.hide()
445 onUnlocked: greeter.hide()
446− onSelected: {
447− var bgPath = greeter.model.data(uid, LightDM.UserRoles.BackgroundPathRole)
448− shell.background = bgPath ? bgPath : defaultBackground
449− }
450
446
451 onLeftTeaserPressedChanged: {
447 onLeftTeaserPressedChanged: {
452 if (leftTeaserPressed) {
448 if (leftTeaserPressed) {