From: Fredrik Tolf Date: Wed, 10 Oct 2007 04:18:56 +0000 (+0200) Subject: Treat "percent" columns in hublist as ints. X-Git-Tag: 1.0~25^2~2 X-Git-Url: http://git.dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=d8813d883280b17c242473f3e662ad7e2c250bf1 Treat "percent" columns in hublist as ints. --- diff --git a/clients/gtk2/hublist-xml.c b/clients/gtk2/hublist-xml.c index d72291d..46a53ce 100644 --- a/clients/gtk2/hublist-xml.c +++ b/clients/gtk2/hublist-xml.c @@ -119,6 +119,8 @@ int pubhubxmlhandler(int op, char *buf, size_t len) type = G_TYPE_STRING; else if(!strcmp(stype, "int")) type = G_TYPE_INT; + else if(!strcmp(stype, "percent")) + type = G_TYPE_INT; else if(!strcmp(stype, "bytes")) type = G_TYPE_INT64; }