remote-search: implement new ActivateResult() method
This allows us to fix the shortcomings of the original ActivateResult() method. In particular: - allow to pass the search terms to the provider - allow to pass a user interaction timestamp https://bugzilla.gnome.org/show_bug.cgi?id=689735
This commit is contained in:
@ -285,8 +285,8 @@ const RemoteSearchProvider2 = new Lang.Class({
|
||||
this.canLaunchSearch = true;
|
||||
},
|
||||
|
||||
activateResult: function(id) {
|
||||
this.proxy.ActivateResultRemote(id, [], 0);
|
||||
activateResult: function(id, terms) {
|
||||
this.proxy.ActivateResultRemote(id, terms, global.get_current_time());
|
||||
},
|
||||
|
||||
launchSearch: function(terms) {
|
||||
|
Reference in New Issue
Block a user