Status message patch from Jeremy Jackins and skls.
This commit is contained in:
parent
fc31616141
commit
e75753775f
6
surf.c
6
surf.c
|
@ -793,10 +793,10 @@ void
|
||||||
update(Client *c) {
|
update(Client *c) {
|
||||||
char *t;
|
char *t;
|
||||||
|
|
||||||
if(c->progress != 100)
|
if(c->linkhover)
|
||||||
t = g_strdup_printf("[%i%%] %s", c->progress, c->title);
|
|
||||||
else if(c->linkhover)
|
|
||||||
t = g_strdup(c->linkhover);
|
t = g_strdup(c->linkhover);
|
||||||
|
else if(c->progress != 100)
|
||||||
|
t = g_strdup_printf("[%i%%] %s", c->progress, c->title);
|
||||||
else
|
else
|
||||||
t = g_strdup(c->title);
|
t = g_strdup(c->title);
|
||||||
drawindicator(c);
|
drawindicator(c);
|
||||||
|
|
Loading…
Reference in New Issue