Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wait until the desktop ends starting up
Gnome Shell enables the extensions before the desktop itself is ready to accept widgets. This can result in errors. In the case of appindicator, it results in applications that are launched during startup will not show an indicator because, when the extension tries to add the icon to the Gnome Shell interface, it isn't ready for that, thus failing. But other applications, launched after the Shell has completed the startup process, will work fine. This patch fixes this by checking in the `enable()` method if Gnome Shell is still starting up, in which case it waits until the `startup-complete` signal is triggered before continuing.
- Loading branch information