[gnome-shell/wip/re-search-v2: 7/28] remoteSearch: We do not need a fallback for createIcon



commit f401b086ed6b3f8f54ef204d49f3dca813cf02f9
Author: Tanner Doshier <doshitan gmail com>
Date:   Thu Aug 16 21:22:22 2012 -0500

    remoteSearch: We do not need a fallback for createIcon
    
    Remote providers no longer have access to a grid layout, where an icon is
    a requirement. If they don't specify an icon, don't create one.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=681797

 js/ui/remoteSearch.js |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/remoteSearch.js b/js/ui/remoteSearch.js
index e6bdc8d..503e632 100644
--- a/js/ui/remoteSearch.js
+++ b/js/ui/remoteSearch.js
@@ -193,9 +193,7 @@ const RemoteSearchProvider = new Lang.Class({
                                               width, height, rowStride, size);
         }
 
-        // Ugh, but we want to fall back to something ...
-        return new St.Icon({ icon_name: 'text-x-generic',
-                             icon_size: size });
+        return null;
     },
 
     _getResultsFinished: function(results, error) {



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