diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-03-01 18:37:02 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-03-02 06:32:19 (GMT) |
commit | 513d8cb45a8fc24383268a8c8bb5b67379bab625 (patch) | |
tree | f88766ebe396a0070b1c4534aa907afb22a3c1db /library.py | |
parent | 50e18027a1d605ef04e90d004601ca2cb88582a8 (diff) |
Reflect to last .xol changes in sugar
Diffstat (limited to 'library.py')
-rw-r--r-- | library.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |