[gnome-shell] background: Add copied content from pending image loads to the cache



commit 4cfb0008127672be0b4d0edbd163ee22654c5d6b
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Dec 3 18:09:23 2013 -0500

    background: Add copied content from pending image loads to the cache
    
    https://bugzilla.gnome.org/show_bug.cgi?id=719803

 js/ui/background.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/background.js b/js/ui/background.js
index 1d9f55c..885e96b 100644
--- a/js/ui/background.js
+++ b/js/ui/background.js
@@ -188,6 +188,7 @@ const BackgroundCache = new Lang.Class({
                                                           if (content && pendingLoad.callers[j].shouldCopy) {
                                                               newContent = 
content.copy(pendingLoad.callers[j].monitorIndex,
                                                                                         
pendingLoad.callers[j].effects);
+                                                              this._images.push(newContent);
                                                           } else {
                                                               newContent = content;
                                                           }


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