diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-02-28 05:22:19 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-03-02 06:32:18 (GMT) |
commit | 675a916b31cbbb41c8ea053a44290471bb34f330 (patch) | |
tree | c51ef691bd65d83b2b9b316af826497b73b0071c | |
parent | 5b829c11c4444ecc41fc81919776b7b514187106 (diff) |
Update "ready" master check on every create/delete command
-rw-r--r-- | GUI_Components/Compound_Widgets/bookview.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/GUI_Components/Compound_Widgets/bookview.py b/GUI_Components/Compound_Widgets/bookview.py index 71f296d..5192a9d 100644 --- a/GUI_Components/Compound_Widgets/bookview.py +++ b/GUI_Components/Compound_Widgets/bookview.py @@ -171,6 +171,7 @@ class BookView(gtk.VBox): self.book.props.article = name self.store.append((False, name)) self.tree.set_cursor(len(self.store)-1, self.tree.get_column(1), True) + self._update_check(self.store[-1][PUBLISH]) def _delete_cb(self, widget): index, column = self.tree.get_cursor() @@ -189,6 +190,7 @@ class BookView(gtk.VBox): if index >= len(self.store): index -= 1 self.tree.set_cursor(index, self.tree.get_column(1), False) + self._update_check(self.store[index][PUBLISH]) def _swap_cb(self, widget, delta): old_index, column = self.tree.get_cursor() |