[gnome-shell] appDisplay: Fix activation of search results
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] appDisplay: Fix activation of search results
- Date: Thu, 11 Aug 2011 14:30:19 +0000 (UTC)
commit 44b475e746d175d87161f2b3b32ee75fe2b24c7a
Author: Colin Walters <walters verbum org>
Date: Thu Aug 11 10:26:14 2011 -0400
appDisplay: Fix activation of search results
The id parameter changed to an app.
js/ui/appDisplay.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 291e3d6..a4a9587 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -333,7 +333,7 @@ AppSearchProvider.prototype = {
return this._appSys.subsearch(previousResults, terms);
},
- activateResult: function(id, params) {
+ activateResult: function(app, params) {
params = Params.parse(params, { workspace: -1,
timestamp: 0 });
@@ -341,7 +341,6 @@ AppSearchProvider.prototype = {
let modifiers = event ? Shell.get_event_state(event) : 0;
let openNewWindow = modifiers & Clutter.ModifierType.CONTROL_MASK;
- let app = this._appSys.lookup_app(id);
if (openNewWindow)
app.open_new_window(workspace);
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]