popupMenu: Use consistent registerClass() style
We don't add a line break between parameters and class elsewhere, so be consistent with that. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606
This commit is contained in:
parent
5f3bad9c94
commit
3c382c4bbe
@ -315,8 +315,7 @@ class Switch extends St.Bin {
|
|||||||
|
|
||||||
var PopupSwitchMenuItem = GObject.registerClass({
|
var PopupSwitchMenuItem = GObject.registerClass({
|
||||||
Signals: { 'toggled': { param_types: [GObject.TYPE_BOOLEAN] }, },
|
Signals: { 'toggled': { param_types: [GObject.TYPE_BOOLEAN] }, },
|
||||||
},
|
}, class PopupSwitchMenuItem extends PopupBaseMenuItem {
|
||||||
class PopupSwitchMenuItem extends PopupBaseMenuItem {
|
|
||||||
_init(text, active, params) {
|
_init(text, active, params) {
|
||||||
super._init(params);
|
super._init(params);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user