mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-26 18:10:43 +00:00
Lower debug messages level.
This commit is contained in:
parent
81637f4572
commit
0e4747bf22
@ -236,7 +236,7 @@ class PiecesBar(gtk.DrawingArea):
|
|||||||
else:
|
else:
|
||||||
format = "%.2f%%"
|
format = "%.2f%%"
|
||||||
text += format % (self.__fraction*100)
|
text += format % (self.__fraction*100)
|
||||||
log.debug("PiecesBar text %r", text)
|
log.trace("PiecesBar text %r", text)
|
||||||
pl.set_text(text)
|
pl.set_text(text)
|
||||||
plsize = pl.get_size()
|
plsize = pl.get_size()
|
||||||
text_width = plsize[0]/pango.SCALE
|
text_width = plsize[0]/pango.SCALE
|
||||||
@ -284,7 +284,7 @@ class PiecesBar(gtk.DrawingArea):
|
|||||||
return self.__state
|
return self.__state
|
||||||
|
|
||||||
def update_from_status(self, status):
|
def update_from_status(self, status):
|
||||||
log.debug("Updating PiecesBar from status")
|
log.trace("Updating PiecesBar from status")
|
||||||
self.set_fraction(status["progress"]/100)
|
self.set_fraction(status["progress"]/100)
|
||||||
torrent_state = status["state"]
|
torrent_state = status["state"]
|
||||||
self.set_state(torrent_state)
|
self.set_state(torrent_state)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user