[gnome-shell] WorkspaceThumnail: fix typo
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] WorkspaceThumnail: fix typo
- Date: Mon, 21 Nov 2011 21:04:00 +0000 (UTC)
commit b1064cbe50630c8fcdd671becd2659aa7afd46d4
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Sun Nov 20 11:57:29 2011 +0100
WorkspaceThumnail: fix typo
An if is missing, causing the subsequent expression to evaluate to
nothing, and the invocation it should be protect to be unconditional.
js/ui/workspaceThumbnail.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js
index 3885d85..504d32b 100644
--- a/js/ui/workspaceThumbnail.js
+++ b/js/ui/workspaceThumbnail.js
@@ -597,7 +597,7 @@ ThumbnailsBox.prototype = {
// ... and bam, a workspace, good as new.
source.metaWindow.change_workspace_by_index(newWorkspaceIndex,
true, time);
- else (source.shellWorkspaceLaunch)
+ else if (source.shellWorkspaceLaunch)
source.shellWorkspaceLaunch({ workspace: newWorkspaceIndex,
timestamp: time });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]