[gnome-shell] AppDisplay: fix typo that prevented Ctrl+Enter in search
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] AppDisplay: fix typo that prevented Ctrl+Enter in search
- Date: Mon, 22 Aug 2011 21:28:33 +0000 (UTC)
commit 72037af241f094bd212a91fd9359295ce594febf
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Mon Aug 22 22:31:04 2011 +0200
AppDisplay: fix typo that prevented Ctrl+Enter in search
workspace is not a valid variable, the workspace index should be
fetched from the params object.
https://bugzilla.gnome.org/show_bug.cgi?id=657111
js/ui/appDisplay.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 131be18..acaa775 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -342,7 +342,7 @@ AppSearchProvider.prototype = {
let openNewWindow = modifiers & Clutter.ModifierType.CONTROL_MASK;
if (openNewWindow)
- app.open_new_window(workspace);
+ app.open_new_window(params.workspace);
else
app.activate_full(params.workspace, params.timestamp);
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]