#2365: Hiding Progress column generates TypeError
----------------------+------------------------------
  Reporter:  ernobe   |      Owner:  Cas
      Type:  bug      |     Status:  accepted
  Priority:  trivial  |  Milestone:  1.3.7
 Component:  GTK-UI   |    Version:  1.3.6
Resolution:           |   Keywords:  Python TypeError
----------------------+------------------------------
Changes (by Cas):

 * status:  reopened => accepted
 * milestone:  1.3.x => 1.3.7


Comment:

 Yes it is a bug in 1.3.6 and this is probable fix:
 {{{#!diff
 @@ -155,7 +155,7 @@
      textstr = _t(state_str)
      if state_str != "Seeding" and value < 100:
 -        textstr = textstr + " %.2f%%" % value
 +        textstr = "%s %.2f%%" % (textstr, value)
      if cell.get_property("text") != textstr:
          cell.set_property("text", textstr)
 }}}

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/2365#comment:6>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to