X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=surf.c;h=a3508bfce60ca3ac8510aa2e8b30139b9c7e5f8f;hb=7c7a3b58cfd096ec546011df316828211adf6631;hp=baebe5c6411d8b8eeedde01e84c9802e7cf6d3b0;hpb=590a9bb19d331320643c50cf90433b94c7a3ba28;p=surf.git diff --git a/surf.c b/surf.c index baebe5c..a3508bf 100644 --- a/surf.c +++ b/surf.c @@ -529,7 +529,7 @@ newclient(void) { g_object_set(G_OBJECT(settings), "auto-load-images", loadimage, NULL); g_object_set(G_OBJECT(settings), "enable-plugins", plugin, NULL); g_object_set(G_OBJECT(settings), "enable-scripts", script, NULL); - g_object_set(G_OBJECT(settings), "enable-spatial-navigation", true, NULL); + g_object_set(G_OBJECT(settings), "enable-spatial-navigation", SPATIAL_BROWSING, NULL); g_free(uri); @@ -793,10 +793,10 @@ void update(Client *c) { char *t; - if(c->progress != 100) - t = g_strdup_printf("[%i%%] %s", c->progress, c->title); - else if(c->linkhover) + if(c->linkhover) t = g_strdup(c->linkhover); + else if(c->progress != 100) + t = g_strdup_printf("[%i%%] %s", c->progress, c->title); else t = g_strdup(c->title); drawindicator(c);