places-menu: Minor style tweak

Reindent function parameters to fit the old-fart 80-character limit
for better readability.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/44
This commit is contained in:
Florian Müllner
2018-01-17 21:57:49 +01:00
parent eba3cfccfe
commit 39274f286c
+9 -10
View File
@@ -134,17 +134,16 @@ class RootInfo extends PlaceInfo {
_init() {
super._init('devices', Gio.File.new_for_path('/'), _("Computer"));
this._proxy = new Hostname1(Gio.DBus.system,
'org.freedesktop.hostname1',
'/org/freedesktop/hostname1',
(obj, error) => {
if (error)
return;
let busName = 'org.freedesktop.hostname1';
let objPath = '/org/freedesktop/hostname1';
this._proxy = new Hostname1(Gio.DBus.system, busName, objPath, (obj, error) => {
if (error)
return;
this._proxy.connect('g-properties-changed',
this._propertiesChanged.bind(this));
this._propertiesChanged(obj);
});
this._proxy.connect('g-properties-changed',
this._propertiesChanged.bind(this));
this._propertiesChanged(obj);
});
}
getIcon() {