cleanup: Use consistent 4-space indent
This is another bit where we've made good progress, and just need a final push to complete the transition. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2866>
This commit is contained in:

committed by
Marge Bot

parent
071f92cfb6
commit
9a3913d4a0
@ -67,11 +67,11 @@ export class WeatherClient extends Signals.EventEmitter {
|
||||
this._onPermStoreChanged(this._permStore, '', params);
|
||||
});
|
||||
this._permStore.connectSignal('Changed',
|
||||
this._onPermStoreChanged.bind(this));
|
||||
this._onPermStoreChanged.bind(this));
|
||||
|
||||
this._locationSettings = new Gio.Settings({schema_id: 'org.gnome.system.location'});
|
||||
this._locationSettings.connect('changed::enabled',
|
||||
this._updateAutoLocation.bind(this));
|
||||
this._updateAutoLocation.bind(this));
|
||||
|
||||
this._world = GWeather.Location.get_world();
|
||||
|
||||
@ -240,7 +240,7 @@ export class WeatherClient extends Signals.EventEmitter {
|
||||
|
||||
this._gclueLocationChangedId =
|
||||
this._gclueService.connect('notify::location',
|
||||
this._onGClueLocationChanged.bind(this));
|
||||
this._onGClueLocationChanged.bind(this));
|
||||
this._onGClueLocationChanged();
|
||||
} else {
|
||||
if (this._gclueLocationChangedId)
|
||||
@ -270,10 +270,11 @@ export class WeatherClient extends Signals.EventEmitter {
|
||||
|
||||
_onGClueLocationChanged() {
|
||||
let geoLocation = this._gclueService.location;
|
||||
let location = GWeather.Location.new_detached(geoLocation.description,
|
||||
null,
|
||||
geoLocation.latitude,
|
||||
geoLocation.longitude);
|
||||
let location = GWeather.Location.new_detached(
|
||||
geoLocation.description,
|
||||
null,
|
||||
geoLocation.latitude,
|
||||
geoLocation.longitude);
|
||||
this._setLocation(location);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user