[gnome-shell/eos3.8: 209/255] fixup! appDisplay: Show Endless' desktop in the Apps view from the Overview



commit f7333850c13beabe8663cae0e448997391cf0aaf
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Apr 8 17:18:20 2020 -0300

    fixup! appDisplay: Show Endless' desktop in the Apps view from the Overview

 js/ui/appDisplay.js | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index a5789d00ae..d441d55d5f 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -640,9 +640,11 @@ class AppDisplay extends BaseAppView {
                 if (!app)
                     return;
 
-                icon = new AppIcon(app, {
-                    isDraggable: favoritesWritable,
-                });
+                if (!icon) {
+                    icon = new AppIcon(app, {
+                        isDraggable: favoritesWritable,
+                    });
+                }
             }
 
             appIcons.push(icon);


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