diff --git a/subprojects/extensions-app/data/ui/extension-row.ui b/subprojects/extensions-app/data/ui/extension-row.ui index f41d8fbb7..8330f05ce 100644 --- a/subprojects/extensions-app/data/ui/extension-row.ui +++ b/subprojects/extensions-app/data/ui/extension-row.ui @@ -89,7 +89,6 @@ end - 60 0 0 @@ -171,7 +170,6 @@ False True True - 60 0 1 diff --git a/subprojects/extensions-app/data/ui/extensions-window.ui b/subprojects/extensions-app/data/ui/extensions-window.ui index f96441c48..740c62128 100644 --- a/subprojects/extensions-app/data/ui/extensions-window.ui +++ b/subprojects/extensions-app/data/ui/extensions-window.ui @@ -124,65 +124,29 @@ main - - never + - - True + + Manually Installed - - vertical - center - 36 - 36 - 36 - 36 - 12 - - - - start - True - Manually Installed - - - - - - none - 24 - - - - - - - start - True - Built-In - - - - - - none - - - + + none + + + + + + + + Built-In + + + none + diff --git a/subprojects/extensions-app/js/main.js b/subprojects/extensions-app/js/main.js index 563cd7e45..329d3870d 100644 --- a/subprojects/extensions-app/js/main.js +++ b/subprojects/extensions-app/js/main.js @@ -74,10 +74,11 @@ var ExtensionsWindow = GObject.registerClass({ GTypeName: 'ExtensionsWindow', Template: 'resource:///org/gnome/Extensions/ui/extensions-window.ui', InternalChildren: [ + 'userGroup', 'userList', + 'systemGroup', 'systemList', 'mainStack', - 'scrolledWindow', 'searchBar', 'searchButton', 'searchEntry', @@ -316,10 +317,10 @@ var ExtensionsWindow = GObject.registerClass({ } _syncListVisibility() { - this._userList.visible = [...this._userList].length > 1; - this._systemList.visible = [...this._systemList].length > 1; + this._userGroup.visible = [...this._userList].length > 1; + this._systemGroup.visible = [...this._systemList].length > 1; - if (this._userList.visible || this._systemList.visible) + if (this._userGroup.visible || this._systemGroup.visible) this._mainStack.visible_child_name = 'main'; else this._mainStack.visible_child_name = 'placeholder';