Mercurial > MadButterfly
comparison pyink/MBScene.py @ 1211:4bbad66f23b8
Does not listen DOMAttrModified for updateUI
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Tue, 04 Jan 2011 12:03:02 +0800 |
parents | 3683e02b7482 |
children | 962a6fec2198 |
comparison
equal
deleted
inserted
replaced
1210:3683e02b7482 | 1211:4bbad66f23b8 |
---|---|
1214 vbox.pack_start(hbox,expand=False) | 1214 vbox.pack_start(hbox,expand=False) |
1215 | 1215 |
1216 doc = self.document | 1216 doc = self.document |
1217 addEventListener(doc,'DOMNodeInserted', self.updateUI, None) | 1217 addEventListener(doc,'DOMNodeInserted', self.updateUI, None) |
1218 addEventListener(doc,'DOMNodeRemoved', self.updateUI, None) | 1218 addEventListener(doc,'DOMNodeRemoved', self.updateUI, None) |
1219 addEventListener(doc, 'DOMAttrModified', self.updateUI, None) | |
1220 | 1219 |
1221 self.top.show_all() | 1220 self.top.show_all() |
1222 self.last_update = None | 1221 self.last_update = None |
1223 return False | 1222 return False |
1224 pass | 1223 pass |