[gnome-shell/wip/carlosg/padosd-closed-signal: 2/2] padOsd: Add missing 'closed' signal
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/padosd-closed-signal: 2/2] padOsd: Add missing 'closed' signal
- Date: Fri, 1 Nov 2019 19:23:34 +0000 (UTC)
commit 4338ca5fd95b1bbe12285fa5a56d7f52e6e9de52
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Nov 1 20:01:31 2019 +0100
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
js/ui/padOsd.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/js/ui/padOsd.js b/js/ui/padOsd.js
index 1a09420a69..00a35497e2 100644
--- a/js/ui/padOsd.js
+++ b/js/ui/padOsd.js
@@ -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({
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]