[gnome-shell] appDisplay: Fix _ensureIconVisible()



commit 75885c3095a76d1480a6fa64e7075235ca19dc9a
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Feb 18 22:18:09 2013 +0100

    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

 js/ui/appDisplay.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 5cd1572..5206b66 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]