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
parent e5272c84d7
commit fdac0602db

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) {