From 51e1aad0981cd86ced62ed04402a4b016c35f02f Mon Sep 17 00:00:00 2001 From: Marc Maurer Date: Wed, 21 Mar 2007 18:37:58 +0000 Subject: Make the "save" button aware of changes to the document --- diff --git a/toolbar.py b/toolbar.py index b86ef99..b5b1ac7 100644 --- a/toolbar.py +++ b/toolbar.py @@ -100,7 +100,7 @@ class AbiToolbar(object): self._image_id = self._image.connect("activated", self._image_cb) toolbar.append(self._image) -# reenable this after march 6th +# re-enable this after march 6th # self._table = abiword.TableCreator() # self._table.set_labels("Table", "Cancel") # self._table.show() @@ -118,7 +118,7 @@ class AbiToolbar(object): self._abiword_canvas.file_save() def _isDirty_cb(self, abi, b): - print "isDirty",b + self._save.props.active = b def _undo_cb(self, button): self._abiword_canvas.undo() -- cgit v0.9.1