background: Mark pattern backgrounds as loaded

Otherwise we don't let GNOME Shell startup to proceed. Noticed
by accidentally running on the memory GSettings backend.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1381
This commit is contained in:
Carlos Garnacho 2020-07-30 11:45:56 +02:00 committed by Florian Müllner
parent 98ab6ae70d
commit c2ba11425c

View File

@ -347,6 +347,8 @@ var Background = GObject.registerClass({
this.set_color(color);
else
this.set_gradient(shadingType, color, secondColor);
this._setLoaded();
}
_watchFile(file) {