pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
9ec6fbd
96edaa8
)
merge, download fixing.
author
Enno Boland (tox)
<tox@s01.de>
Fri, 4 Sep 2009 11:20:48 +0000
(13:20 +0200)
committer
Enno Boland (tox)
<tox@s01.de>
Fri, 4 Sep 2009 11:20:48 +0000
(13:20 +0200)
1
2
surf.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
surf.c
index
ec846ad
,
0d9988f
..
476fd56
---
1
/
surf.c
---
2
/
surf.c
+++ b/
surf.c
@@@
-317,7
-312,7
+312,7
@@@
loadfile(Client *c, const gchar *f)
void
loaduri(Client *c, const gchar *uri) {
gchar *u;
-- u = g_strrstr(uri, ":") ? g_strdup(uri)
++ u = g_strrstr(uri, ":
//
") ? g_strdup(uri)
: g_strdup_printf("http://%s", uri);
webkit_web_view_load_uri(c->view, u);
c->progress = 0;
@@@
-421,6
-416,6
+416,7
@@@
processx(GdkXEvent *e, GdkEvent *event
int idummy;
unsigned long ldummy;
unsigned char *buf = NULL;
++
if(((XEvent *)e)->type == PropertyNotify) {
ev = &((XEvent *)e)->xproperty;
if(ev->atom == urlprop && ev->state == PropertyNewValue) {