@@ -26,11 +26,12 @@ Showable {
26 created: greeterContentLoader.status == Loader.Ready && greeterContentLoader.item.ready
26 created: greeterContentLoader.status == Loader.Ready && greeterContentLoader.item.ready
28 property url defaultBackground
28 property url defaultBackground
29+ property bool loadContent: required
30 // 1 when fully shown and 0 when fully hidden
31 // 1 when fully shown and 0 when fully hidden
31 property real showProgress: MathUtils.clamp((width - Math.abs(x)) / width, 0, 1)
32 property real showProgress: MathUtils.clamp((width - Math.abs(x)) / width, 0, 1)
33− showAnimation: StandardAnimation { property: "x"; to: 0 }
34+ showAnimation: StandardAnimation { property: "x"; to: 0; duration: UbuntuAnimation.FastDuration }
34 hideAnimation: __leftHideAnimation
35 hideAnimation: __leftHideAnimation
36 property alias dragHandleWidth: dragHandle.width
37 property alias dragHandleWidth: dragHandle.width
@@ -126,7 +127,7 @@ Showable {
126 property var infographicModel: LightDM.Infographic
127 property var infographicModel: LightDM.Infographic
127 readonly property int backgroundTopMargin: -greeter.y
128 readonly property int backgroundTopMargin: -greeter.y
129− source: required ? "GreeterContent.qml" : ""
130+ source: loadContent ? "GreeterContent.qml" : ""
131 onLoaded: {
132 onLoaded: {
132 selected(currentIndex);
133 selected(currentIndex);