padOsd: Add missing 'closed' signal

This wasn't added on the GObject-ification in commit c4c5c4fd5c. This
introduced warnings and misbehaviors when closing the dialog. (Eg.
pressing the "show OSD" pad action would show stack different dialogs
on top each other).

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/800
This commit is contained in:
Carlos Garnacho 2019-11-01 20:01:31 +01:00 committed by Carlos Garnacho
parent e06421b04b
commit 4338ca5fd9

View File

@ -618,7 +618,10 @@ var PadDiagram = GObject.registerClass({
});
var PadOsd = GObject.registerClass({
Signals: { 'pad-selected': { param_types: [Clutter.InputDevice.$gtype] } }
Signals: {
'pad-selected': { param_types: [Clutter.InputDevice.$gtype] },
'closed': {}
}
}, class PadOsd extends St.BoxLayout {
_init(padDevice, settings, imagePath, editionMode, monitorIndex) {
super._init({