[hackers] [surf] Status message patch from Jeremy Jackins and skls. || Troels Henriksen

From: <hg_AT_suckless.org>
Date: Tue, 17 Jan 2012 13:54:25 +0100 (CET)

changeset: 233:2077a996a720
tag: tip
user: Troels Henriksen <athas_AT_sigkill.dk>
date: Tue Jan 17 13:54:35 2012 +0100
files: surf.c
description:
Status message patch from Jeremy Jackins and skls.


diff -r 2ea243e2ca82 -r 2077a996a720 surf.c
--- a/surf.c Sun Nov 20 16:06:38 2011 +0100
+++ b/surf.c Tue Jan 17 13:54:35 2012 +0100
_AT_@ -793,10 +793,10 @@
 update(Client *c) {
         char *t;
 
- if(c->progress != 100)
+ if(c->linkhover)
+ t = g_strdup(c->linkhover);
+ else if(c->progress != 100)
                 t = g_strdup_printf("[%i%%] %s", c->progress, c->title);
- else if(c->linkhover)
- t = g_strdup(c->linkhover);
         else
                 t = g_strdup(c->title);
         drawindicator(c);
Received on Tue Jan 17 2012 - 13:54:25 CET

This archive was generated by hypermail 2.3.0 : Tue Jan 17 2012 - 14:00:11 CET