X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=surf.c;h=a3508bfce60ca3ac8510aa2e8b30139b9c7e5f8f;hb=7c7a3b58cfd096ec546011df316828211adf6631;hp=492c8369f0c7c4740a59b700e595eef7d98907c9;hpb=bc73b48743eb0b51905322cad25b4647569e7996;p=surf.git diff --git a/surf.c b/surf.c index 492c836..a3508bf 100644 --- a/surf.c +++ b/surf.c @@ -461,7 +461,7 @@ newclient(void) { * window class (WM_CLASS) is capped, while the resource is in * lowercase. Both these values come as a pair. */ - gtk_window_set_wmclass(GTK_WINDOW(c->win), "surf", "surf"); + gtk_window_set_wmclass(GTK_WINDOW(c->win), "surf", "Surf"); /* TA: 20091214: And set the role here as well -- so that * sessions can pick this up. @@ -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);