Codebase list gnome-shell-extension-appindicator / 2329d3c
appIndicator: Reset the needed property values on name-owner changed So we force reloading them Marco Trevisan (TreviƱo) 1 year, 7 months ago
1 changed file(s) with 7 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
153153 Util.ensureProxyAsyncMethod(this._proxy, 'XAyatanaSecondaryActivate');
154154 }
155155
156 _resetNeededProperties() {
157 NEEDED_PROPERTIES.forEach(p =>
158 this._proxy.set_cached_property(p, null));
159 }
160
156161 async _checkNeededProperties() {
157162 if (this.id && this.menuPath)
158163 return true;
175180 }
176181
177182 async _nameOwnerChanged() {
183 this._resetNeededProperties();
184
178185 if (!this.hasNameOwner) {
179186 this._checkIfReady();
180187 } else {