changeset 1462:c3e0af5d2487

Rename functions
author Thinker K.F. Li <thinker@codemud.net>
date Sun, 17 Apr 2011 01:09:38 +0800
parents 31189b5d832a
children 5ff744b981fb
files pyink/comp_dock.py
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/pyink/comp_dock.py	Sun Apr 17 01:08:26 2011 +0800
+++ b/pyink/comp_dock.py	Sun Apr 17 01:09:38 2011 +0800
@@ -239,7 +239,7 @@
     #
     # Show an icon before the component name.
     #
-    def _sel_component(self, comp_name):
+    def _hint_sel_component(self, comp_name):
         all_comp_names = self._domview_ui.all_comp_names()
         sel_idx = all_comp_names.index(comp_name)
         assert sel_idx >= 0
@@ -265,9 +265,9 @@
         desktop = self._desktop # from comp_dock_base
         desktop.setCurrentLayer(group.spitem)
 
-        self._sel_component(comp_name)
+        self._hint_sel_component(comp_name)
         tl_name = self._current_timeline()
-        self._sel_timeline(tl_name)
+        self._hint_sel_timeline(tl_name)
         pass
     
     def _add_timeline(self):
@@ -307,7 +307,7 @@
     #
     # Show an icon before the timeline name.
     #
-    def _sel_timeline(self, tl_name):
+    def _hint_sel_timeline(self, tl_name):
         all_tl_names = self._domview_ui.all_timeline_names()
         sel_idx = all_tl_names.index(tl_name)
         assert sel_idx >= 0
@@ -329,7 +329,7 @@
         timeline_name = self._current_timeline()
         domview_ui.switch_timeline(timeline_name)
 
-        self._sel_timeline(timeline_name)
+        self._hint_sel_timeline(timeline_name)
         pass
 
     def _prepare_FSM_editor(self):