diff options
author | Karel Kočí <karel.koci@nic.cz> | 2020-02-17 09:49:03 +0100 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2020-02-17 09:49:03 +0100 |
commit | 3f8f5094c4614c68be0b6d87ff7a2e1548fde1e5 (patch) | |
tree | 4313cca4c362859363a279379cc04fb7fe3ff44f /surf.c | |
parent | 45886055eb4095ae91979f7792ec5437df917b53 (diff) | |
download | surf-3f8f5094c4614c68be0b6d87ff7a2e1548fde1e5.tar.gz surf-3f8f5094c4614c68be0b6d87ff7a2e1548fde1e5.tar.bz2 surf-3f8f5094c4614c68be0b6d87ff7a2e1548fde1e5.zip |
Drop toggle stats from title and improve page statsv2.0.9.4
Diffstat (limited to 'surf.c')
-rw-r--r-- | surf.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -631,11 +631,11 @@ updatetitle(Client *c) getpagestats(c); if (c->progress != 100) - title = g_strdup_printf("[%i%%] %s:%s | %s", - c->progress, togglestats, pagestats, name); + title = g_strdup_printf("[%i%%]%s %s", + c->progress, pagestats, name); else - title = g_strdup_printf("%s:%s | %s", - togglestats, pagestats, name); + title = g_strdup_printf("%s %s", + pagestats, name); gtk_window_set_title(GTK_WINDOW(c->win), title); g_free(title); @@ -665,9 +665,9 @@ void getpagestats(Client *c) { if (c->https) - pagestats[0] = (c->tlserr || c->insecure) ? 'U' : 'T'; + pagestats[0] = (c->tlserr || c->insecure) ? '⚠' : ' '; else - pagestats[0] = '-'; + pagestats[0] = '⚡'; pagestats[1] = '\0'; } |