[gnome-shell/wip/swarm: 124/126] appDisplay: Animate on new window of apps in AllView and FrequentView



commit 4905eaf5a819c26cec317ceeb5aad85ee169890e
Author: Carlos Soriano <carlos soriano89 gmail com>
Date:   Thu Jun 26 21:31:34 2014 +0200

    appDisplay: Animate on new window of apps in AllView and FrequentView

 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 0881f67..4fdb400 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -485,7 +485,7 @@ const AllView = new Lang.Class({
 
         apps.forEach(Lang.bind(this, function(appId) {
             let app = appSys.lookup_app(appId);
-            let icon = new AppIcon(app);
+            let icon = new AppIcon(app, {}, { animateOnNewWindow: true });
             this.addItem(icon);
         }));
 
@@ -786,7 +786,7 @@ const FrequentView = new Lang.Class({
         for (let i = 0; i < mostUsed.length; i++) {
             if (!mostUsed[i].get_app_info().should_show())
                 continue;
-            let appIcon = new AppIcon(mostUsed[i]);
+            let appIcon = new AppIcon(mostUsed[i], {}, { animateOnNewWindow: true });
             this._grid.addItem(appIcon, -1);
         }
     },


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