From 6075332f2f53357a8698f15e3e932fd2ce157736 Mon Sep 17 00:00:00 2001 From: Tanner Doshier <doshitan@gmail.com> Date: Thu, 16 Aug 2012 21:22:22 -0500 Subject: [PATCH] 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 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/ui/remoteSearch.js b/js/ui/remoteSearch.js index f10205a2f..2c954d340 100644 --- a/js/ui/remoteSearch.js +++ b/js/ui/remoteSearch.js @@ -196,9 +196,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) {