changeset 1251:fb5ad43c13eb

Rename onCellClick to do_CellClick
author Thinker K.F. Li <thinker@codemud.net>
date Tue, 11 Jan 2011 10:33:46 +0800
parents 62eaa20b8cf7
children 71222a6b4c06
files pyink/MBScene.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pyink/MBScene.py	Tue Jan 11 10:27:21 2011 +0800
+++ b/pyink/MBScene.py	Tue Jan 11 10:33:46 2011 +0800
@@ -271,7 +271,7 @@
 	self.change_active_frame(self.last_select.repr.parent())
 	pass
 
-    def onCellClick(self, layer_idx, frame_idx):
+    def do_CellClick(self, layer_idx, frame_idx):
 	self._lockui = True
 	
 	self._director.show_scene(frame_idx)
@@ -417,7 +417,7 @@
 	self.document = self.desktop.doc().rdoc
 	
 	self._domview.handle_doc_root(self.document, self._root)
-	self._domview.register_active_frame_callback(self.onCellClick)
+	self._domview.register_active_frame_callback(self.do_CellClick)
 	self._director = scenes_director(self._domview)
 
 	if self.top == None: