Comment 3 for bug 12187

Revision history for this message
Don Scorgie (don-scorgie) wrote :

Created an attachment (id=1261)
Patch to make build work

Hi,

The problem with the build is caused by gtk 2.6 introducing a new progress cell
renderer which is already defined in gtk-gnutella.

This patch removes the offending files (src/ui/gtk/gtk2/pbarcellrenderer.{c,h})
and any mention of them - allowing the gtk progress cell renderer to work
properly.

The patch also converts the progress from [0,1] as used by gtk-gnutella
implementation to [0,100] as used by gtk implementation.

I have tested this as far as I can and it seems to work ok (i.e. it builds, the
progress bars in downloads fill up properly) however, I haven't been able to
test the upload progress bars.

Hope this is ok
Don