MCPcopy Create free account
hub / github.com/GNOME/gnome-shell / _queueUpdateStates

Method _queueUpdateStates

js/ui/workspaceThumbnail.js:1184–1194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1182 }
1183
1184 _queueUpdateStates() {
1185 if (this._updateStateId > 0)
1186 return;
1187
1188 const laters = global.compositor.get_laters();
1189 this._updateStateId = laters.add(
1190 Meta.LaterType.BEFORE_REDRAW, () => {
1191 this._updateStates();
1192 return GLib.SOURCE_REMOVE;
1193 });
1194 }
1195
1196 _unqueueUpdateStates() {
1197 if (this._updateStateId) {

Callers 7

_initMethod · 0.95
_updateIndicatorMethod · 0.95
acceptDropMethod · 0.95
addThumbnailsMethod · 0.95
removeThumbnailsMethod · 0.95
_updateStatesMethod · 0.95
vfunc_allocateMethod · 0.95

Calls 2

_updateStatesMethod · 0.95
addMethod · 0.45

Tested by

no test coverage detected