diff options
author | Aleksey 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) |
commit | 9fa6e94c3c25e44328f8e97f046b388c599c5969 (patch) | |
tree | f88766ebe396a0070b1c4534aa907afb22a3c1db /library.py | |
parent | 9f17fdffdb50136ab61a60911219032e35d528d8 (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) |