appDisplay: Fix _ensureIconVisible()

The fade effect was renamed a while ago, but we missed to update
the use in _ensureIconVisible().

https://bugzilla.gnome.org/show_bug.cgi?id=694125
This commit is contained in:
Florian Müllner 2013-02-18 22:18:09 +01:00
parent 5d275389af
commit 75885c3095

View File

@ -86,9 +86,9 @@ const AlphabeticalView = new Lang.Class({
let [value, lower, upper, stepIncrement, pageIncrement, pageSize] = adjustment.get_values();
let offset = 0;
let vfade = this.actor.get_effect("vfade");
let vfade = this.actor.get_effect("fade");
if (vfade)
offset = vfade.fade_offset;
offset = vfade.vfade_offset;
// If this gets called as part of a right-click, the actor
// will be needs_allocation, and so "icon.y" would return 0