Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/readtoolbar.py
diff options
context:
space:
mode:
authorSayamindu Dasgupta <sayamindu@gmail.com>2009-02-16 20:26:44 (GMT)
committer Sayamindu Dasgupta <sayamindu@gmail.com>2009-02-16 20:26:44 (GMT)
commitc3b22d8ad925638783f1708dda28666bb2082afe (patch)
treeeb56d2dee146ffee734a736c114285f982683f0f /readtoolbar.py
parentc0b297f6f2bfa1adf84203ec92ed123612693b3b (diff)
Use the variable name filehash instead of hash
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 5baf310..07a60c9 100644
--- a/readtoolbar.py
+++ b/readtoolbar.py
@@ -270,13 +270,13 @@ class ReadToolbar(gtk.Toolbar):
bookmarkitem.show_all()
def set_document(self, document, filepath):
- hash = get_md5(filepath)
+ filehash = get_md5(filepath)
self._document = document
page_cache = self._document.get_page_cache()
page_cache.connect('page-changed', self._page_changed_cb)
self._update_nav_buttons()
self._update_toc()
- self._sidebar.set_bookmarkmanager(hash)
+ self._sidebar.set_bookmarkmanager(filehash)
def _num_page_entry_insert_text_cb(self, entry, text, length, position):
if not re.match('[0-9]', text):