diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-04-15 12:35:16 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-04-15 12:35:16 (GMT) |
commit | 0e069dcc5a4a416e679dc5c1a15fd468246bc0f5 (patch) | |
tree | e3a0c3f1c055207990bf0f278f66bda421113548 /src/TextThought.py | |
parent | a4c97e5c60d93cf7ce42ccf6b191dc376df383d1 (diff) |
Back switch to old jobject format
Diffstat (limited to 'src/TextThought.py')
-rw-r--r-- | src/TextThought.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TextThought.py b/src/TextThought.py index 3bb0599..59fb914 100644 --- a/src/TextThought.py +++ b/src/TextThought.py @@ -790,7 +790,7 @@ class TextThought (ResizableThought): context.set_source_rgb (0,0,0) context.stroke () - def update_save (self, zip): + def update_save (self): next = self.element.firstChild while next: m = next.nextSibling @@ -886,7 +886,7 @@ class TextThought (ResizableThought): self.bindex = self.b_f_i (self.index) self.text = tmp - def load (self, node, zip): + def load (self, node, tar): self.index = int (node.getAttribute ("cursor")) self.end_index = self.index tmp = node.getAttribute ("ul-coords") |