From 3124e82838294ec958f635c917a652ecab58a7d3 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Mon, 10 Dec 2012 15:47:25 -0500 Subject: [PATCH] search: make sure to pass a timestamp to LaunchSearch() Do not repeat past mistakes while we're still in time. https://bugzilla.gnome.org/show_bug.cgi?id=690009 --- data/org.gnome.ShellSearchProvider2.xml | 2 ++ js/ui/remoteSearch.js | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/data/org.gnome.ShellSearchProvider2.xml b/data/org.gnome.ShellSearchProvider2.xml index 5719f09be..26b213d57 100644 --- a/data/org.gnome.ShellSearchProvider2.xml +++ b/data/org.gnome.ShellSearchProvider2.xml @@ -75,11 +75,13 @@ + diff --git a/js/ui/remoteSearch.js b/js/ui/remoteSearch.js index bf09ded8b..9ac697209 100644 --- a/js/ui/remoteSearch.js +++ b/js/ui/remoteSearch.js @@ -50,6 +50,7 @@ const SearchProvider2Iface = + ; @@ -290,6 +291,6 @@ const RemoteSearchProvider2 = new Lang.Class({ }, launchSearch: function(terms) { - this.proxy.LaunchSearchRemote(terms); + this.proxy.LaunchSearchRemote(terms, global.get_current_time()); } });