Dolda2000 GitWeb
/
doldaconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
713581e
)
Treat "percent" columns in hublist as ints.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 10 Oct 2007 04:18:56 +0000
(06:18 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 10 Oct 2007 04:18:56 +0000
(06:18 +0200)
clients/gtk2/hublist-xml.c
patch
|
blob
|
blame
|
history
diff --git
a/clients/gtk2/hublist-xml.c
b/clients/gtk2/hublist-xml.c
index
d72291d
..
46a53ce
100644
(file)
--- 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;
}