Mercurial > MadButterfly
diff pyink/domview_ui.py @ 1311:e6bb9d00341f
Make content dom and comp_dock synchronized
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Thu, 20 Jan 2011 13:08:26 +0800 |
parents | 49775feefbcf |
children | fcff6978f9bf |
line wrap: on
line diff
--- a/pyink/domview_ui.py Thu Jan 20 12:44:37 2011 +0800 +++ b/pyink/domview_ui.py Thu Jan 20 13:08:26 2011 +0800 @@ -400,10 +400,12 @@ def add_component(self, name): self._dom.add_component(name) + self._comp_dock.dom_add_component(name) pass def rm_component(self, name): self._dom.rm_component(name) + self._comp_dock.dom_rm_component(name) pass def switch_component(self, name): @@ -420,10 +422,12 @@ def add_timeline(self, name): self._dom.add_timeline(name) + self._comp_dock.dom_add_timeline(name) pass def rm_timeline(self, name): self._dom.rm_timeline(name) + self._comp_dock.dom_rm_timeline(name) pass def switch_timeline(self, name):