[gnome-shell/wip/re-search: 8/12] remoteSearch: We do not need a fallback for createIcon
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/re-search: 8/12] remoteSearch: We do not need a fallback for createIcon
- Date: Mon, 20 Aug 2012 23:49:36 +0000 (UTC)
commit 05595af9af2a8924e419b6ce6d598a50270ca62a
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 | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/remoteSearch.js b/js/ui/remoteSearch.js
index b84af54..8c92915 100644
--- a/js/ui/remoteSearch.js
+++ b/js/ui/remoteSearch.js
@@ -125,11 +125,6 @@ const RemoteSearchProvider = new Lang.Class({
return textureCache.load_from_raw(data, hasAlpha,
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,
- icon_type: St.IconType.FULLCOLOR });
},
_getResultsFinished: function(results, error) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]