Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/library.py
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-03-01 18:37:02 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2009-03-02 14:45:12 (GMT)
commit9fa6e94c3c25e44328f8e97f046b388c599c5969 (patch)
treef88766ebe396a0070b1c4534aa907afb22a3c1db /library.py
parent9f17fdffdb50136ab61a60911219032e35d528d8 (diff)
Reflect to last .xol changes in sugar
Diffstat (limited to 'library.py')
-rw-r--r--library.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/library.py b/library.py
index 4288993..360ae4b 100644
--- a/library.py
+++ b/library.py
@@ -140,7 +140,7 @@ class View(gtk.EventBox):
if not article:
return
- if not abook.map:
+ if not abook.index:
notebooks[0].set_current_page(0)
return
@@ -152,7 +152,7 @@ class View(gtk.EventBox):
article_widget.textbox.set_article(article)
def _article_deleted_cb(self, abook, article, notebooks):
- if not abook.map:
+ if not abook.index:
notebooks[0].set_current_page(0)
self.activity.set_edit_sensitive(False)