From 6f6e1298c15b241b329cb813dc1d34356a6b627d Mon Sep 17 00:00:00 2001
Message-Id: <6f6e1298c15b241b329cb813dc1d34356a6b627d.1338476904.git.humitos@gmail.com>
From: Manuel Kaufmann <humitos@gmail.com>
Date: Thu, 31 May 2012 12:08:18 -0300
Subject: [PATCH Read] Show bookmark in the first page SL #3662
Show the bookmark for the first page (if any) in the sidebar when the
file is resumed from the Journal.
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
---
readactivity.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/readactivity.py b/readactivity.py
index 5e23b86..7cbe065 100644
a
|
b
|
class ReadActivity(activity.Activity): |
834 | 834 | self._view.set_current_page(current_page) |
835 | 835 | self._update_nav_buttons(current_page) |
836 | 836 | |
| 837 | # README: bookmark sidebar is not showing the bookmark in the |
| 838 | # first page because this is updated just if the page number changes |
| 839 | if current_page == 0: |
| 840 | self._sidebar.update_for_page(current_page) |
| 841 | |
837 | 842 | # We've got the document, so if we're a shared activity, offer it |
838 | 843 | try: |
839 | 844 | if self.get_shared(): |