start with the screen locked

This commit is contained in:
Marco Martin 2015-10-15 15:26:23 +02:00
parent 6b3f32ed3c
commit fc52ae95d4

View file

@ -117,12 +117,20 @@ Item {
LayoutManager.layout = appletsSpace.layout;
//LayoutManager.lastSpacer = appletsSpace.lastSpacer;
LayoutManager.restore();
applicationsView.contentY = -root.height;
applicationsView.contentY = -applicationsView.headerItem.height*2;
plasmoid.nativeInterface.applicationListModel.appOrder = plasmoid.configuration.AppOrder;
plasmoid.nativeInterface.applicationListModel.loadApplications();
}
Timer {
interval: 200
running: true
onTriggered: {
applicationsView.contentY = -applicationsView.headerItem.height;
}
}
Containment.onAppletAdded: {
addApplet(applet, x, y);
LayoutManager.save();