portalHelper: Fix auth URI not being passed to window

Gjs-Message: JS WARNING: [resource:///org/gnome/shell/portalHelper/main.js 360]: reference to undefined property top.uri
is caused by the URI variable actually being called "url".

https://bugzilla.gnome.org/show_bug.cgi?id=783286
This commit is contained in:
Bastien Nocera 2017-05-31 16:03:16 +02:00
parent c22287b517
commit 50d37e74a3

View File

@ -357,7 +357,7 @@ const WebPortalHelper = new Lang.Class({
if (top.window != null) if (top.window != null)
return; return;
top.window = new PortalWindow(this, top.uri, top.timestamp, Lang.bind(this, function(result) { top.window = new PortalWindow(this, top.url, top.timestamp, Lang.bind(this, function(result) {
this._dbusImpl.emit_signal('Done', new GLib.Variant('(ou)', [top.connection, result])); this._dbusImpl.emit_signal('Done', new GLib.Variant('(ou)', [top.connection, result]));
})); }));
}, },