How to change numeric display formats

Ask for help and report issues with the GTK+ version of Transmission
Post Reply
josephj
Posts: 96
Joined: Wed Mar 25, 2009 6:46 pm

How to change numeric display formats

Post by josephj »

Hi. I just upgraded to Transmission-gtk 2.82 on Linux. In general it's very nice and several crashes I had appear to be fixed.

But, I want to increase the number of digits after the decimal points on the main display. (You just decreased them, so I don't expect you to do it.)

I've programmed a bit in C before, but only did simple programs. I think compiling and installing should be no problem. I just need some clues as to where these values get formatted.

I poked around a little bit and it looks like most of the relevant action is in torrent-cell-renderer.c, but some fancy stuff appears to be going on - probably to facilitate language translations - with all the values already translated into strings by the time they get there.

Can someone point me to where I would make such a change? I just want to make them something like f6.3.

Thanks.

Joe
rb07
Posts: 1400
Joined: Sun Aug 24, 2008 3:14 am

Re: How to change numeric display formats

Post by rb07 »

If you are talking about the ratio, then look at: https://trac.transmissionbt.com/ticket/5621
josephj
Posts: 96
Joined: Wed Mar 25, 2009 6:46 pm

Re: How to change numeric display formats

Post by josephj »

That worked like a charm!

Thanks for the very quick reply. Open source rocks!

Now that I am using my local version instead of the one from my package manager, how do I know when a new version becomes available?
I found a post that says to just keep looking at https://trac.transmissionbt.com/wiki/Changes. Is that the current method or is there an announce list?

Joe
rb07
Posts: 1400
Joined: Sun Aug 24, 2008 3:14 am

Re: How to change numeric display formats

Post by rb07 »

No announce list, or anything similar.

Myself I keep looking at https://trac.transmissionbt.com/browser (because I have a copy of the repository, kept up to date with Subversion), when a new tag comes up, that means there's a new version... sometimes before the real release is made (at http://www.transmissionbt.com/).
Post Reply