diff options
author | James Simmons <jim@localhost.simmons> | 2009-05-19 23:59:20 (GMT) |
---|---|---|
committer | James Simmons <jim@localhost.simmons> | 2009-05-19 23:59:20 (GMT) |
commit | 4997848f1db97c18b46d6e952ce7bdfdbff09abe (patch) | |
tree | 30c4dd5e06414698c3b7b60633add930eeb8b7ea /readtoolbar.py | |
parent | ec3035bc7785ebab814e3b60cc74b677ab1a2f14 (diff) |
modified: MANIFEST
modified: ReadEtextsActivity.py
new file: help.txt
modified: readtoolbar.py
Added help text, plus the ability to check for an ISO encoded
version of a file before getting the plain text version.
Diffstat (limited to 'readtoolbar.py')
-rw-r--r-- | readtoolbar.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/readtoolbar.py b/readtoolbar.py index 61957cd..3eee778 100644 --- a/readtoolbar.py +++ b/readtoolbar.py @@ -278,7 +278,7 @@ class BooksToolbar(gtk.Toolbar): self._download = ToolButton('go-down') self._download.set_tooltip(_('Get Book')) - self._download.props.sensitive = True + self._download.props.sensitive = False self._download.connect('clicked', self._get_book_cb) self.insert(self._download, -1) self._download.show() @@ -292,8 +292,8 @@ class BooksToolbar(gtk.Toolbar): def _get_book_cb(self, button): self.activity.get_book() - def _update_button(self): - self._download.props.sensitive = self.activity.can_download_books() + def _enable_button(self, state): + self._download.props.sensitive = state class SpeechToolbar(gtk.Toolbar): def __init__(self): |