diff pyink/domview.py @ 1348:22a79dcbaec6

Change structure of provide_traits and method_map_traits
author Thinker K.F. Li <thinker@codemud.net>
date Sat, 12 Feb 2011 19:22:21 +0800
parents e0400a2b7c35
children 17fa5d78200b
line wrap: on
line diff
--- a/pyink/domview.py	Sat Feb 12 18:21:16 2011 +0800
+++ b/pyink/domview.py	Sat Feb 12 19:22:21 2011 +0800
@@ -977,10 +977,8 @@
 class domview(domview_monitor):
     use_traits = (component_manager,)
     
-    method_map_component_manager = \
-        {component_manager._start_component_manager:
-             '_start_component_manager'}
-    method_map_traits = {component_manager: method_map_component_manager}
+    method_map_traits = {component_manager._start_component_manager:
+                             '_start_component_manager'}
 
     # Declare variables, here, for keeping tracking
     _doc = None