diff --git a/js/ui/environment.js b/js/ui/environment.js index f2944a5c1..60d73d9cc 100644 --- a/js/ui/environment.js +++ b/js/ui/environment.js @@ -220,6 +220,11 @@ function init() { Clutter.Actor.prototype.ease_property = function(propName, target, params) { _easeActorProperty(this, propName, target, params); }; + St.Adjustment.prototype.ease = function(target, params) { + // we're not an actor of course, but we implement the same + // transition API as Clutter.Actor, so this works anyway + _easeActorProperty(this, 'value', target, params); + }; Clutter.Actor.prototype.toString = function() { return St.describe_actor(this);