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 <jim@localhost.simmons>2009-05-17 22:51:21 (GMT)
committer James Simmons <jim@localhost.simmons>2009-05-17 22:51:21 (GMT)
commitd3e0cb7679c996b37fd7904e4b0cccaa75549a79 (patch)
treed70b7c427820e1111723fcb697998ac1457e0a3c /readtoolbar.py
parent4c714f4dad205e858b54ea0d474c50f71f8f427b (diff)
modified: ReadEtextsActivity.py
modified: gutextract.py modified: readtoolbar.py Continue working on a facility to download books using PG's offline catalog file.
Diffstat (limited to 'readtoolbar.py')
-rw-r--r--readtoolbar.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/readtoolbar.py b/readtoolbar.py
index c752f57..61957cd 100644
--- a/readtoolbar.py
+++ b/readtoolbar.py
@@ -267,7 +267,7 @@ class BooksToolbar(gtk.Toolbar):
self._search_entry = gtk.Entry()
self._search_entry.connect('activate', self._search_entry_activate_cb)
- width = int(gtk.gdk.screen_width() / 3)
+ width = int(gtk.gdk.screen_width() / 2)
self._search_entry.set_size_request(width, -1)
book_search_item.add(self._search_entry)
@@ -278,7 +278,7 @@ class BooksToolbar(gtk.Toolbar):
self._download = ToolButton('go-down')
self._download.set_tooltip(_('Get Book'))
- self._download.props.sensitive = False
+ self._download.props.sensitive = True
self._download.connect('clicked', self._get_book_cb)
self.insert(self._download, -1)
self._download.show()
@@ -288,7 +288,6 @@ class BooksToolbar(gtk.Toolbar):
def _search_entry_activate_cb(self, entry):
self.activity.find_books(entry.props.text)
- self._update_button()
def _get_book_cb(self, button):
self.activity.get_book()