[gnome-shell/wip/carlosg/pad-osd-signal-param] padOsd: Add parameter type to keybinding-edited signal
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/carlosg/pad-osd-signal-param] padOsd: Add parameter type to keybinding-edited signal
- Date: Fri, 20 Mar 2020 12:33:51 +0000 (UTC)
commit 7b1533caf756be9fba2155c0036125144baf8ac7
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Mar 20 13:31:03 2020 +0100
padOsd: Add parameter type to keybinding-edited signal
This has a string argument, but none was defined.
Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/issues/2451
js/ui/padOsd.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/padOsd.js b/js/ui/padOsd.js
index 632b527815..c2723c0e21 100644
--- a/js/ui/padOsd.js
+++ b/js/ui/padOsd.js
@@ -89,7 +89,7 @@ var PadChooser = GObject.registerClass({
});
var KeybindingEntry = GObject.registerClass({
- Signals: { 'keybinding-edited': {} },
+ Signals: { 'keybinding-edited': { param_types: [GObject.TYPE_STRING] } },
}, class KeybindingEntry extends St.Entry {
_init() {
super._init({ hint_text: _("New shortcut…"), style: 'width: 10em' });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]