projects
/
uzbl-mobile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c98bc2
)
Only open one new window when requested.
author
Tom Adams
<tom@holizz.com>
Tue, 30 Jun 2009 05:23:51 +0000
(06:23 +0100)
committer
Tom Adams
<tom@holizz.com>
Sat, 11 Jul 2009 10:36:43 +0000
(11:36 +0100)
uzbl.c
patch
|
blob
|
history
diff --git
a/uzbl.c
b/uzbl.c
index
f6dc7b8
..
ad0dc0e
100644
(file)
--- a/
uzbl.c
+++ b/
uzbl.c
@@
-488,8
+488,8
@@
new_window_cb (WebKitWebView *web_view, WebKitWebFrame *frame, WebKitNetworkRequ
const gchar* uri = webkit_network_request_get_uri (request);
if (uzbl.state.verbose)
printf("New window requested -> %s \n", uri);
- new_window_load_uri(uri);
- return (FALSE);
+ webkit_web_policy_decision_use(policy_decision);
+ return TRUE;
}
static gboolean