Background: add a comment for questionable GSettings usage
BackgroundSource relies on Background to watch its own settings. Add a comment to explain that. https://bugzilla.gnome.org/show_bug.cgi?id=746509
This commit is contained in:
parent
36d9cc329d
commit
0068098996
@ -527,6 +527,10 @@ const BackgroundSource = new Lang.Class({
|
|||||||
let file = null;
|
let file = null;
|
||||||
let style;
|
let style;
|
||||||
|
|
||||||
|
// We don't watch changes to settings here,
|
||||||
|
// instead we rely on Background to watch those
|
||||||
|
// and emit 'changed' at the right time
|
||||||
|
|
||||||
if (this._overrideImage != null) {
|
if (this._overrideImage != null) {
|
||||||
file = Gio.File.new_for_path(this._overrideImage);
|
file = Gio.File.new_for_path(this._overrideImage);
|
||||||
style = GDesktopEnums.BackgroundStyle.ZOOM; // Hardcode
|
style = GDesktopEnums.BackgroundStyle.ZOOM; // Hardcode
|
||||||
|
Loading…
Reference in New Issue
Block a user