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:

committed by
Florian Müllner

parent
91707f4f82
commit
39e6fc9e9d
@ -195,9 +195,8 @@ var Button = GObject.registerClass({
|
||||
* of an icon and a menu section, which will be composed into the
|
||||
* aggregate menu.
|
||||
*/
|
||||
var SystemIndicator = GObject.registerClass({
|
||||
GTypeName: 'PanelMenu_SystemIndicator',
|
||||
}, class SystemIndicator extends St.BoxLayout {
|
||||
var SystemIndicator = GObject.registerClass(
|
||||
class SystemIndicator extends St.BoxLayout {
|
||||
_init() {
|
||||
super._init({
|
||||
style_class: 'panel-status-indicators-box',
|
||||
|
Reference in New Issue
Block a user