unfocus should return false; renaming cookie-file.

This commit is contained in:
Enno Boland (tox) 2009-09-11 08:12:08 +02:00
parent 38a098c81d
commit 44511e2549

4
surf.c
View File

@ -601,7 +601,7 @@ setup(void) {
/* cookie persistance */ /* cookie persistance */
s = webkit_get_default_session(); s = webkit_get_default_session();
name = g_build_filename(workdir, "cookies.jar", NULL); name = g_build_filename(workdir, "cookies.txt", NULL);
cookiejar = soup_cookie_jar_text_new(name, FALSE); cookiejar = soup_cookie_jar_text_new(name, FALSE);
soup_session_add_feature(s, SOUP_SESSION_FEATURE(cookiejar)); soup_session_add_feature(s, SOUP_SESSION_FEATURE(cookiejar));
} }
@ -663,7 +663,7 @@ gboolean
unfocusbar(GtkWidget *w, GdkEventFocus *e, Client *c) { unfocusbar(GtkWidget *w, GdkEventFocus *e, Client *c) {
hidesearch(c, NULL); hidesearch(c, NULL);
hideurl(c, NULL); hideurl(c, NULL);
return TRUE; return FALSE;
} }
void void