mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
js: Use Gjs GTypeName computation for all classes
As per previous commit we can remove the explicit GTypeName definitions and use gjs auto computation for all the GObject registered classes. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/790
This commit is contained in:
parent
91707f4f82
commit
39e6fc9e9d
26 changed files with 34 additions and 73 deletions
|
|
@ -89,7 +89,6 @@ var PadChooser = GObject.registerClass({
|
|||
});
|
||||
|
||||
var KeybindingEntry = GObject.registerClass({
|
||||
GTypeName: 'PadOsd_KeybindingEntry',
|
||||
Signals: { 'keybinding-edited': {} }
|
||||
}, class KeybindingEntry extends St.Entry {
|
||||
_init() {
|
||||
|
|
@ -111,7 +110,6 @@ var KeybindingEntry = GObject.registerClass({
|
|||
});
|
||||
|
||||
var ActionComboBox = GObject.registerClass({
|
||||
GTypeName: 'PadOsd_ActionComboBox',
|
||||
Signals: { 'action-selected': { param_types: [GObject.TYPE_INT] } }
|
||||
}, class ActionComboBox extends St.Button {
|
||||
_init() {
|
||||
|
|
@ -194,7 +192,6 @@ var ActionComboBox = GObject.registerClass({
|
|||
});
|
||||
|
||||
var ActionEditor = GObject.registerClass({
|
||||
GTypeName: 'PadOsd_ActionEditor',
|
||||
Signals: { 'done': {} }
|
||||
}, class ActionEditor extends St.Widget {
|
||||
_init() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue