diff options
author | Sayamindu Dasgupta <sayamindu@gmail.com> | 2009-11-25 23:55:38 (GMT) |
---|---|---|
committer | Sayamindu Dasgupta <sayamindu@gmail.com> | 2009-11-25 23:55:38 (GMT) |
commit | a219430f114dfd14560f2d6207755fcce766a1ef (patch) | |
tree | d672ef87ebd0ac0fbcf9475474b7d464e421d9fa /GetIABooksActivity.py | |
parent | b790fe22551ea0e1e23cdf1c47b39ef9af1ee5c5 (diff) |
Show a busy cursor when downloading in the background
Diffstat (limited to 'GetIABooksActivity.py')
-rwxr-xr-x | GetIABooksActivity.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/GetIABooksActivity.py b/GetIABooksActivity.py index 4a08207..639431a 100755 --- a/GetIABooksActivity.py +++ b/GetIABooksActivity.py @@ -317,7 +317,7 @@ class GetIABooksActivity(activity.Activity): self._alert(_('Error'), _('You must enter at least one search word.')) self._books_toolbar.search_entry.grab_focus() return - self.queryresults = opds.FeedBooksQueryResult(search_text) + self.queryresults = opds.FeedBooksQueryResult(search_text, self.window) elif source == 'internet-archive': if search_text is None: return @@ -325,10 +325,10 @@ class GetIABooksActivity(activity.Activity): self._alert(_('Error'), _('You must enter at least one search word.')) self._books_toolbar.search_entry.grab_focus() return - self.queryresults = opds.InternetArchiveQueryResult(search_text) + self.queryresults = opds.InternetArchiveQueryResult(search_text, self.window) else: self.queryresults = opds.LocalVolumeQueryResult( \ - source, search_text) + source, search_text, self.window) textbuffer = self.textview.get_buffer() textbuffer.set_text(_('Performing lookup, please wait...')) |