[gnome-shell] app-search-result: Fix launching on another workspace



commit 09607f6aa753699d06c915ddbe55585c69caa4cf
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Apr 6 08:22:32 2011 +0200

    app-search-result: Fix launching on another workspace
    
    dragActivateResult() called a non-existent method, fix that.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=645990

 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 2623a46..7830936 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -313,7 +313,7 @@ BaseAppSearchProvider.prototype = {
                                         timestamp: null });
 
         let app = this._appSys.get_app(id);
-        app.open_new_window(params.workspace ? params.workspace.get_index() : -1);
+        app.open_new_window(params.workspace ? params.workspace.index() : -1);
     }
 };
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]