@@ -65,6 +65,14 @@ Item {
66 function tease() {
66 function tease() {
67 if (available) {
67 if (available) {
68+ teaseTimer.mode = "teasing"
74+ if (available && root.state == "") {
75+ teaseTimer.mode = "hinting"
68 teaseTimer.start();
76 teaseTimer.start();
@@ -72,6 +80,7 @@ Item {
73 id: teaseTimer
81 id: teaseTimer
74 interval: 200
82 interval: 200
83+ property string mode: "teasing"
@@ -102,6 +111,13 @@ Item {
115+ target: LauncherModel
116+ onRowsRemoved: hint();
117+ onRowsInserted: hint();
118+ onRowsMoved: hint();
105 SequentialAnimation {
121 SequentialAnimation {
106 id: fadeOutAnimation
122 id: fadeOutAnimation
107 ScriptAction {
123 ScriptAction {
@@ -271,11 +287,19 @@ Item {
273 name: "teasing"
289 name: "teasing"
274− when: teaseTimer.running
290+ when: teaseTimer.running && teaseTimer.mode == "teasing"
275 PropertyChanges {
291 PropertyChanges {
276 target: panel
292 target: panel
277 x: -root.panelWidth + units.gu(2)
293 x: -root.panelWidth + units.gu(2)
298+ when: teaseTimer.running && teaseTimer.mode == "hinting"