summaryrefslogtreecommitdiff
path: root/unity-private
diff options
authorGord Allott <gord.allott@canonical.com>2010-09-22 17:40:56 +0100
committerGord Allott <gord.allott@canonical.com>2010-09-22 17:40:56 +0100
commiteb936a3798398582df9bcb79048c25db59d4f6a8 (patch)
treee4b002dbed7ba411563f0bee3973371454dc639f /unity-private
parent2cf36138d64b3f516e2ecee39cab41125beebc3e (diff)
fixes lp:619344 by removing glow on fold
(bzr r540.1.1)
Diffstat (limited to 'unity-private')
-rw-r--r--unity-private/launcher/scrollerchild.vala17
1 files changed, 13 insertions, 4 deletions
diff --git a/unity-private/launcher/scrollerchild.vala b/unity-private/launcher/scrollerchild.vala
index 41a8613d3..d99a6c0b6 100644
--- a/unity-private/launcher/scrollerchild.vala
+++ b/unity-private/launcher/scrollerchild.vala
@@ -523,11 +523,20 @@ namespace Unity.Launcher
processed_icon.rotation = old_rotate_value;
if (rotation <= 1.0 && rotation >= 0.0)
- processed_icon.animate (Clutter.AnimationMode.EASE_IN_OUT_QUAD, 300,
- "rotation", rotation);
+ {
+ processed_icon.animate (Clutter.AnimationMode.EASE_IN_OUT_QUAD, 300,
+ "rotation", rotation);
+ }
else
- processed_icon.animate (Clutter.AnimationMode.EASE_OUT_QUINT, 300,
- "rotation", rotation);
+ {
+ processed_icon.animate (Clutter.AnimationMode.EASE_OUT_QUINT, 300,
+ "rotation", rotation);
+ if (activating)
+ {
+ debug ("stopping glow ");
+ activating = false;
+ }
+ }
}
private void on_activating_changed ()