[gnome-shell/wip/carlosg/loaded-with-patterns] background: Mark pattern backgrounds as loaded




commit dbcd2ff7cc47266d569d07031b43346203362e48
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Jul 30 11:45:56 2020 +0200

    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.

 js/ui/background.js | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/js/ui/background.js b/js/ui/background.js
index 6ee1b31a6a..ca34451608 100644
--- a/js/ui/background.js
+++ b/js/ui/background.js
@@ -347,6 +347,8 @@ var Background = GObject.registerClass({
             this.set_color(color);
         else
             this.set_gradient(shadingType, color, secondColor);
+
+        this._setLoaded();
     }
 
     _watchFile(file) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]