[gnome] Updating extensions, back to Forge

This commit is contained in:
2026-02-18 11:13:53 -05:00
parent 9d4dd2863c
commit ede0687e11
107 changed files with 9856 additions and 4216 deletions

View File

@ -188,6 +188,10 @@ export class DbusMenuItem extends Signals.EventEmitter {
return this._children_ids.map(el => this._client.getItem(el));
}
hasChildren() {
return this._children_ids.length > 0;
}
handleEvent(event, data, timestamp) {
if (!data)
data = GLib.Variant.new_int32(0);
@ -477,14 +481,14 @@ export const DBusClient = GObject.registerClass({
_onSignal(_sender, signal, params) {
if (signal === 'LayoutUpdated') {
if (!this._active) {
if (!this._active && this.getRoot()?.hasChildren()) {
this._flagLayoutUpdateRequired = true;
return;
}
this._requestLayoutUpdate();
} else if (signal === 'ItemsPropertiesUpdated') {
if (!this._active) {
if (!this._active && this.getRoot()?.hasChildren()) {
this._flagItemsUpdateRequired = true;
return;
}