[gnome-shell/wip/re-search-v2: 8/28] appDisplay: Don't use icons in results for settings



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

    appDisplay: Don't use icons in results for settings
    
    The 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 |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 9e56922..da7c926 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -387,9 +387,7 @@ const SettingsSearchProvider = new Lang.Class({
             let pref = prefs[i];
             metas.push({ 'id': pref,
                          'name': pref.get_name(),
-                         'createIcon': function(size) {
-                             return pref.create_icon_texture(size);
-                         }
+                         'createIcon': function() { return null; }
                        });
         }
         callback(metas);



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