search: propagate GAppInfo to SearchProvider

Save the GAppInfo in the provider object; this will be used when
filtering.

https://bugzilla.gnome.org/show_bug.cgi?id=687491
This commit is contained in:
Cosimo Cecchi
2012-11-01 10:33:22 -04:00
parent 8499e4aab2
commit 6e46ddaad3
2 changed files with 5 additions and 5 deletions

View File

@ -74,8 +74,9 @@ const SearchResultDisplay = new Lang.Class({
const SearchProvider = new Lang.Class({
Name: 'SearchProvider',
_init: function(title) {
_init: function(title, appInfo) {
this.title = title;
this.appInfo = appInfo;
this.searchSystem = null;
},