diff options
author | Marc Maurer <uwog@uwog.net> | 2007-03-21 18:37:58 (GMT) |
---|---|---|
committer | Marc Maurer <uwog@uwog.net> | 2007-03-21 18:37:58 (GMT) |
commit | 51e1aad0981cd86ced62ed04402a4b016c35f02f (patch) | |
tree | 6b3d79f5b596f0a5281c0ed251fe3fba13b95695 /toolbar.py | |
parent | 1f93b367f014e03357ff595f4803091e8fa20937 (diff) |
Make the "save" button aware of changes to the document
Diffstat (limited to 'toolbar.py')
-rw-r--r-- | toolbar.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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() |