Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for config:x86_64
SUSE:SLE-12-SP1:GA
gnome-shell
background-image-caching-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File background-image-caching-fix.patch of Package gnome-shell
Index: gnome-shell-3.10.4/js/ui/background.js =================================================================== --- gnome-shell-3.10.4.orig/js/ui/background.js +++ gnome-shell-3.10.4/js/ui/background.js @@ -99,10 +99,15 @@ const BackgroundCache = new Lang.Class({ let signalId = monitor.connect('changed', Lang.bind(this, function() { + let purged_images = []; for (let i = 0; i < this._images.length; i++) { - if (this._images[i].get_filename() == filename) - this._images.splice(i, 1); + let curimg = this._images[i]; + if (curimg.get_filename() == filename) + continue; + + purged_images.push(curimg); } + this._images = purged_images; monitor.disconnect(signalId);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor