diff --git a/search.js b/search.js index 2c103fa..6079f9c 100644 --- a/search.js +++ b/search.js @@ -16,6 +16,9 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +const St = imports.gi.St; +const Gio = imports.gi.Gio; + const Shell = imports.gi.Shell; const Util = imports.misc.util; const Lang = imports.lang; @@ -67,14 +70,16 @@ const SshSearchProvider = new Lang.Class({ getResultMetas: function(resultIds, callback) { let metas = []; + let app = null; for (let i=0; i