Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/library.py
diff options
context:
space:
mode:
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)