[gnome-shell] appDisplay: Don't use icons in results for settings



commit 835d4e4b58749d62a5a8e35586ec3b01751a0ff9
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 ac2860a..9520832 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -383,9 +383,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]