projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d8aaea2
)
NewBranch.bjs
author
Alan Knowles
<alan@roojs.com>
Tue, 18 Dec 2018 04:48:14 +0000
(12:48 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 18 Dec 2018 04:48:14 +0000
(12:48 +0800)
NewBranch.vala
NewBranch.bjs
patch
|
blob
|
history
NewBranch.vala
patch
|
blob
|
history
diff --git
a/NewBranch.bjs
b/NewBranch.bjs
index
382995c
..
d0232b7
100644
(file)
--- a/
NewBranch.bjs
+++ b/
NewBranch.bjs
@@
-211,7
+211,7
@@
"items" : [
{
"listeners" : {
"items" : [
{
"listeners" : {
- "authenticate" : "(auth) => {\n\tvar rs = RooTicket.singleton();\t\n auth.authenticate(new WebKit.Credential(rs.username, rs.password,WebKit.CredentialPersistence.FOR_SESSION));\n\n}"
+ "authenticate" : "(auth) => {\n\tvar rs = RooTicket.singleton();\t\n auth.authenticate(new WebKit.Credential(rs.username, rs.password,WebKit.CredentialPersistence.FOR_SESSION));\n
auth.ref();\n return true;
\n}"
},
"id" : "view",
"* pack" : "add",
},
"id" : "view",
"* pack" : "add",
diff --git
a/NewBranch.vala
b/NewBranch.vala
index
4d555de
..
f178788
100644
(file)
--- a/
NewBranch.vala
+++ b/
NewBranch.vala
@@
-898,7
+898,8
@@
public class NewBranch : Object
this.el.authenticate.connect( (auth) => {
var rs = RooTicket.singleton();
auth.authenticate(new WebKit.Credential(rs.username, rs.password,WebKit.CredentialPersistence.FOR_SESSION));
this.el.authenticate.connect( (auth) => {
var rs = RooTicket.singleton();
auth.authenticate(new WebKit.Credential(rs.username, rs.password,WebKit.CredentialPersistence.FOR_SESSION));
-
+ auth.ref();
+ return true;
});
}
});
}