Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/readsidebar.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@sugarlabs.org>2011-02-18 17:27:29 (GMT)
committer Gonzalo Odiard <godiard@sugarlabs.org>2011-02-18 17:33:12 (GMT)
commitaa5534a95735df60c9cf619b6d463d2ec21abd95 (patch)
treecfcb4008b9333a7336eb97772ff48343d9050ef6 /readsidebar.py
parent76cacfad48af182b1edefbdaf202b7edb4f43c81 (diff)
Add highlight support to thetext backend
- The highlights are saved in the same db we save the bookmarks. - The highlights can be removed selecting again the same tex, or a subportion of the text or puting the cursos inside the highlighted area.
Diffstat (limited to 'readsidebar.py')
-rw-r--r--readsidebar.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/readsidebar.py b/readsidebar.py
index c22d462..041b478 100644
--- a/readsidebar.py
+++ b/readsidebar.py
@@ -145,8 +145,8 @@ class Sidebar(gtk.EventBox):
self._is_showing_local_bookmark = False
- def set_bookmarkmanager(self, filehash):
- self._bookmark_manager = BookmarkManager(filehash)
+ def set_bookmarkmanager(self, bookmark_manager):
+ self._bookmark_manager = bookmark_manager
def get_bookmarkmanager(self):
return (self._bookmark_manager)