Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/readtoolbar.py
diff options
context:
space:
mode:
authorJames Simmons <ja.simmons@sbcglobal.net>2008-05-03 22:44:30 (GMT)
committer James Simmons <ja.simmons@sbcglobal.net>2008-05-03 22:44:30 (GMT)
commit035c0f036766c9c315db70ba54e93234e262d018 (patch)
tree7625399ee2ab8c51bc13ee2110a47242310f9af4 /readtoolbar.py
parent47869a2545927427f537102f1b3c55d8bf3fc6b3 (diff)
Added threaded text to speech with highlighting, currently not working.
Diffstat (limited to 'readtoolbar.py')
-rw-r--r--readtoolbar.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/readtoolbar.py b/readtoolbar.py
index 0fc4502..bb620f0 100644
--- a/readtoolbar.py
+++ b/readtoolbar.py
@@ -91,8 +91,8 @@ class ReadToolbar(gtk.Toolbar):
self.insert(downloaded_item, -1)
downloaded_item.show()
- def set_downloaded_bytes(self, bytes):
- self._downloaded_label.props.label = ' ' + str(bytes) + ' received'
+ def set_downloaded_bytes(self, bytes, total):
+ self._downloaded_label.props.label = ' ' + str(bytes) + ' of ' + str(total) + ' received'
def _num_page_entry_insert_text_cb(self, entry, text, length, position):
if not re.match('[0-9]', text):