Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAneesh Dogra <lionaneesh@gmail.com>2012-12-08 15:02:24 (GMT)
committer Aneesh Dogra <lionaneesh@gmail.com>2012-12-08 15:05:25 (GMT)
commit618d3367007f697606648ab5f8004e489ceca6a5 (patch)
treefc6983e29ae9cae531226b10ffe55c551c89ed97
parentfe0b91d7b10216445764d853954bb6a3dea80baa (diff)
Fix the textview attribute issue.
-rw-r--r--GetIABooksActivity.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/GetIABooksActivity.py b/GetIABooksActivity.py
index be90f0c..aaf1193 100644
--- a/GetIABooksActivity.py
+++ b/GetIABooksActivity.py
@@ -338,6 +338,7 @@ class GetIABooksActivity(activity.Activity):
format = self.format_combo.props.value
else:
format = self._books_toolbar.format_combo.props.value
+ if not hasattr(self, 'textview'): return
textbuffer = self.textview.get_buffer()
textbuffer.set_text(self.book_data + _('Download URL') + ': ' + self.download_url + format)
if _NEW_TOOLBAR_SUPPORT: