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:
parent
e06421b04b
commit
4338ca5fd9
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user