summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2020-02-17 09:49:03 +0100
committerKarel Kočí <karel.koci@nic.cz>2020-02-17 09:49:03 +0100
commit3f8f5094c4614c68be0b6d87ff7a2e1548fde1e5 (patch)
tree4313cca4c362859363a279379cc04fb7fe3ff44f /surf.c
parent45886055eb4095ae91979f7792ec5437df917b53 (diff)
downloadsurf-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.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/surf.c b/surf.c
index 8a1f3d7..4960f58 100644
--- a/surf.c
+++ b/surf.c
@@ -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';
}