[gnome-shell-extensions] apps-menu: Remove unused variable



commit 1958ce779467f03672e8d72afa45e2ab14bee5f5
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Dec 16 22:32:59 2015 +0100

    apps-menu: Remove unused variable
    
    https://bugzilla.gnome.org/show_bug.cgi?id=759004

 extensions/apps-menu/extension.js |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js
index 3180f3a..925d344 100644
--- a/extensions/apps-menu/extension.js
+++ b/extensions/apps-menu/extension.js
@@ -405,10 +405,8 @@ const ApplicationsButton = new Lang.Class({
                     continue;
                 }
                 let app = appSys.lookup_app(id);
-                if (appInfo.should_show()) {
-                    let menu_id = dir.get_menu_id();
+                if (appInfo.should_show())
                     this.applicationsByCategory[categoryId].push(app);
-                }
             } else if (nextType == GMenu.TreeItemType.DIRECTORY) {
                 let subdir = iter.get_directory();
                 if (!subdir.get_is_nodisplay())


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