[gnome-shell] panel: Remove unused method



commit 906ec3c8a9afd3875ee739282af3e532400e9687
Author: Rui Matos <tiagomatos gmail com>
Date:   Thu Dec 13 21:37:09 2012 +0100

    panel: Remove unused method
    
    https://bugzilla.gnome.org/show_bug.cgi?id=690180

 js/ui/panel.js |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/js/ui/panel.js b/js/ui/panel.js
index 76bbfb0..3845dd0 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -1148,18 +1148,6 @@ const Panel = new Lang.Class({
             this._addStyleClassName(this._sessionStyle);
     },
 
-    _initBox: function(elements, box) {
-        for (let i = 0; i < elements.length; i++) {
-            let role = elements[i];
-            let constructor = PANEL_ITEM_IMPLEMENTATIONS[role];
-            if (!constructor) {
-                // panel icon is not supported (can happen for
-                // bluetooth or network)
-                continue;
-            }
-        }
-    },
-
     _hideIndicators: function() {
         for (let role in PANEL_ITEM_IMPLEMENTATIONS) {
             let indicator = this.statusArea[role];



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