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




commit fdac0602db157207e233ee44ad4ccb06bf64ff5d
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.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1381

 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]