background: Remove the system noise content when not in use
https://bugzilla.gnome.org/show_bug.cgi?id=719803
This commit is contained in:
parent
eb1c85f3f5
commit
7f3aadc157
@ -634,7 +634,13 @@ const SystemBackground = new Lang.Class({
|
|||||||
this.emit('loaded');
|
this.emit('loaded');
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
}
|
|
||||||
|
this.actor.connect('destroy', Lang.bind(this, this._onDestroy));
|
||||||
|
},
|
||||||
|
|
||||||
|
_onDestroy: function() {
|
||||||
|
this._cache.removeImageContent(this.actor.content);
|
||||||
|
},
|
||||||
});
|
});
|
||||||
Signals.addSignalMethods(SystemBackground.prototype);
|
Signals.addSignalMethods(SystemBackground.prototype);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user