From cf49882e96fe9620e289ff7126e6ebadb5c7a82a Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Mon, 17 Jan 2011 23:05:30 +0100 Subject: [PATCH] search: Use Util.spawn rather then Shell.Process Shell.Process has been removed in favor of Util.spawn* so use that instead. --- js/ui/search.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/search.js b/js/ui/search.js index 926abb72c..f7be6af47 100644 --- a/js/ui/search.js +++ b/js/ui/search.js @@ -5,6 +5,7 @@ const GLib = imports.gi.GLib; const Lang = imports.lang; const Signals = imports.signals; const Shell = imports.gi.Shell; +const Util = imports.misc.util; const Gettext = imports.gettext.domain('gnome-shell'); const _ = Gettext.gettext; @@ -278,8 +279,7 @@ OpenSearchSystem.prototype = { } catch (e) { // TODO: remove this after glib will be removed from moduleset // In the default jhbuild, gio is in our prefix but gvfs is not - let p = new Shell.Process({ 'args' : ['gvfs-open', url] }); - p.run(); + Util.spawn(['gvfs-open', url]) } Main.overview.hide();