viewSelector: Set correct arguments on ShowOverviewAction 'activate' signal

It's missing the double argument containing the scale change.
This commit is contained in:
Carlos Garnacho 2017-03-21 17:47:36 +00:00
parent c8be854365
commit 257b99ebd1

View File

@ -10,6 +10,7 @@ const Signals = imports.signals;
const Lang = imports.lang; const Lang = imports.lang;
const Shell = imports.gi.Shell; const Shell = imports.gi.Shell;
const St = imports.gi.St; const St = imports.gi.St;
const GObject = imports.gi.GObject;
const AppDisplay = imports.ui.appDisplay; const AppDisplay = imports.ui.appDisplay;
const Main = imports.ui.main; const Main = imports.ui.main;
@ -77,7 +78,7 @@ Signals.addSignalMethods(TouchpadShowOverviewAction.prototype);
const ShowOverviewAction = new Lang.Class({ const ShowOverviewAction = new Lang.Class({
Name: 'ShowOverviewAction', Name: 'ShowOverviewAction',
Extends: Clutter.GestureAction, Extends: Clutter.GestureAction,
Signals: { 'activated': {} }, Signals: { 'activated': { param_types: [GObject.TYPE_DOUBLE] } },
_init : function() { _init : function() {
this.parent(); this.parent();