[gnome-shell/gnome-3-24] portalHelper: Fix auth URI not being passed to window
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-24] portalHelper: Fix auth URI not being passed to window
- Date: Fri, 2 Jun 2017 16:47:43 +0000 (UTC)
commit aa08bd75d086d275aab41f829e3ea40dbce7e9e9
Author: Bastien Nocera <hadess hadess net>
Date: Wed May 31 16:03:16 2017 +0200
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
js/portalHelper/main.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/portalHelper/main.js b/js/portalHelper/main.js
index 39e0c2b..31ae969 100644
--- a/js/portalHelper/main.js
+++ b/js/portalHelper/main.js
@@ -357,7 +357,7 @@ const WebPortalHelper = new Lang.Class({
if (top.window != null)
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]));
}));
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]