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
This commit is contained in:
Tanner Doshier 2012-08-16 21:22:22 -05:00 committed by Cosimo Cecchi
parent c5d8484e19
commit 6075332f2f

View File

@ -196,9 +196,7 @@ const RemoteSearchProvider = new Lang.Class({
width, height, rowStride, size); width, height, rowStride, size);
} }
// Ugh, but we want to fall back to something ... return null;
return new St.Icon({ icon_name: 'text-x-generic',
icon_size: size });
}, },
_getResultsFinished: function(results, error) { _getResultsFinished: function(results, error) {