[gnome-shell] searchDisplay: Remove the providerIcon from the providerMeta



commit 747faa43ae272e3c7c2cb7c0ba210ed43ad2075e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Feb 8 18:01:41 2013 -0500

    searchDisplay: Remove the providerIcon from the providerMeta
    
    Since the resultsDisplay is tracking it, it's not needed.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693836

 js/ui/searchDisplay.js |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/searchDisplay.js b/js/ui/searchDisplay.js
index ebacdec..8c7ddca 100644
--- a/js/ui/searchDisplay.js
+++ b/js/ui/searchDisplay.js
@@ -401,12 +401,10 @@ const SearchResults = new Lang.Class({
     createProviderMeta: function(provider) {
         let providerBox = new St.BoxLayout({ style_class: 'search-section',
                                              vertical: true });
-        let providerIcon = null;
         let resultDisplay = null;
 
         if (provider.appInfo) {
             resultDisplay = new ListSearchResults(provider);
-            providerIcon = resultDisplay.providerIcon;
         } else {
             resultDisplay = new GridSearchResults(provider);
         }
@@ -423,7 +421,6 @@ const SearchResults = new Lang.Class({
 
         this._providerMeta.push({ provider: provider,
                                   actor: providerBox,
-                                  icon: providerIcon,
                                   resultDisplay: resultDisplay });
         this._content.add(providerBox);
     },


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