[gnome-shell] viewSelector: Set correct arguments on ShowOverviewAction 'activate' signal



commit 257b99ebd12abb33878d351b2ff1a263ea680fb6
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Mar 21 17:47:36 2017 +0000

    viewSelector: Set correct arguments on ShowOverviewAction 'activate' signal
    
    It's missing the double argument containing the scale change.

 js/ui/viewSelector.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js
index 211ed42..a0c9007 100644
--- a/js/ui/viewSelector.js
+++ b/js/ui/viewSelector.js
@@ -10,6 +10,7 @@ const Signals = imports.signals;
 const Lang = imports.lang;
 const Shell = imports.gi.Shell;
 const St = imports.gi.St;
+const GObject = imports.gi.GObject;
 
 const AppDisplay = imports.ui.appDisplay;
 const Main = imports.ui.main;
@@ -77,7 +78,7 @@ Signals.addSignalMethods(TouchpadShowOverviewAction.prototype);
 const ShowOverviewAction = new Lang.Class({
     Name: 'ShowOverviewAction',
     Extends: Clutter.GestureAction,
-    Signals: { 'activated': {} },
+    Signals: { 'activated': { param_types: [GObject.TYPE_DOUBLE] } },
 
     _init : function() {
         this.parent();


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