diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2013-12-19 11:44:10 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2013-12-19 11:44:10 (GMT) |
commit | ab4c839d0955e0b0f093da8b456f5b72cfe8f041 (patch) | |
tree | 174ee6bd69aadc6ddaecbd6610dd8fa890714294 /widgets.py | |
parent | 30d13ed03812dd4a06421ebc834594f42178000e (diff) |
Disable saving the document content as text if abi version == 3.0
This is because of http://bugzilla.abisource.com/show_bug.cgi?id=13585
and should be reverted when is fixed
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'widgets.py')
-rw-r--r-- | widgets.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -259,3 +259,8 @@ class DocumentView(Abi.Widget): self.dy = 0 self.queue_resize() return True + + def get_version(self): + version = Abi._version + logging.error('Abiword version %s', version) + return version |