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



commit 55109746f1057bd77ac918b7366d8e7b23640c5f
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]