on xenial help sign in
Removed stuff from the greeter, don't needed, made shell.background reaonly alias of crossfadeimage used in the shell
commit1f87791a41922c3d53309c493dc8b1b7c778e587 authorAndrea Cimitan <andrea.cimitan@canonical.com> dateTue 13 Aug 2013, 11:41 (13 years ago) parentf15e5a1
1 file changed+1−5
Shell.qml+1−5
Shell.qml+1−5
@@ -43,7 +43,7 @@ FocusScope {
4343
4444 property real edgeSize: units.gu(2)
4545 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
4747 readonly property real panelHeight: panel.panelHeight
4848
4949 property bool dashShown: dash.shown
@@ -443,10 +443,6 @@ FocusScope {
443443 }
444444
445445 onUnlocked: greeter.hide()
446− onSelected: {
447− var bgPath = greeter.model.data(uid, LightDM.UserRoles.BackgroundPathRole)
448− shell.background = bgPath ? bgPath : defaultBackground
449− }
450446
451447 onLeftTeaserPressedChanged: {
452448 if (leftTeaserPressed) {