[gnome-shell/wip/re-search: 453/457] appDisplay: Remove createIcon from meta of SettingsSearchProvider



commit 3f0ba378429a1b1efc6ae2e4783c9a6f8742ec18
Author: Tanner Doshier <doshitan gmail com>
Date:   Thu Aug 16 21:28:13 2012 -0500

    appDisplay: Remove createIcon from meta of SettingsSearchProvider
    
    The settings search results are not necessarily improved by including icons,
    so don't.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=681797

 js/ui/appDisplay.js |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 64817bb..39644ac 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -381,11 +381,7 @@ const SettingsSearchProvider = new Lang.Class({
         for (let i = 0; i < prefs.length; i++) {
             let pref = prefs[i];
             metas.push({ 'id': pref,
-                         'name': pref.get_name(),
-                         'createIcon': function(size) {
-                             return pref.create_icon_texture(size);
-                         }
-                       });
+                         'name': pref.get_name() });
         }
         callback(metas);
     },



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