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



commit 9ac6539c5a880830e3cf766b3ecb4a8f60389e47
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 6f02051..5f79f19 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -482,7 +482,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);
         }));
 
@@ -783,7 +783,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]