[gnome-shell] layout: Use ClutterActor.background-color instead of ClutterStage.color



commit ec288d0e687ee11c22fa8cbe1e59c2e5e156dc6e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Jun 27 10:50:25 2014 -0400

    layout: Use ClutterActor.background-color instead of ClutterStage.color
    
    The latter is deprecated.

 js/ui/layout.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/layout.js b/js/ui/layout.js
index cb83826..faa10f6 100644
--- a/js/ui/layout.js
+++ b/js/ui/layout.js
@@ -163,7 +163,7 @@ const LayoutManager = new Lang.Class({
         // Normally, the stage is always covered so Clutter doesn't need to clear
         // it; however it becomes visible during the startup animation
         // See the comment below for a longer explanation
-        global.stage.color = DEFAULT_BACKGROUND_COLOR;
+        global.stage.background_color = DEFAULT_BACKGROUND_COLOR;
 
         // Set up stage hierarchy to group all UI actors under one container.
         this.uiGroup = new Shell.GenericContainer({ name: 'uiGroup' });


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