(activeWorkspaceIndex)
| 81 | } |
| 82 | |
| 83 | display(activeWorkspaceIndex) { |
| 84 | this._activeWorkspaceIndex = activeWorkspaceIndex; |
| 85 | |
| 86 | if (this._timeoutId !== 0) |
| 87 | GLib.source_remove(this._timeoutId); |
| 88 | this._timeoutId = GLib.timeout_add_once(GLib.PRIORITY_DEFAULT, DISPLAY_TIMEOUT, this._onTimeout.bind(this)); |
| 89 | GLib.Source.set_name_by_id(this._timeoutId, '[gnome-shell] this._onTimeout'); |
| 90 | |
| 91 | this._redisplayAllPopups(); |
| 92 | |
| 93 | const duration = this.visible ? 0 : ANIMATION_TIME; |
| 94 | this.show(); |
| 95 | this.opacity = 0; |
| 96 | this.ease({ |
| 97 | opacity: 255, |
| 98 | duration, |
| 99 | mode: Clutter.AnimationMode.EASE_OUT_QUAD, |
| 100 | }); |
| 101 | } |
| 102 | |
| 103 | _onTimeout() { |
| 104 | this._timeoutId = 0; |
no test coverage detected