# HG changeset patch # User Thinker K.F. Li # Date 1302973778 -28800 # Node ID c3e0af5d2487a4aef67ca4ae9be057325eeda1f1 # Parent 31189b5d832a727cb35fc64311e0c143d48149c5 Rename functions diff -r 31189b5d832a -r c3e0af5d2487 pyink/comp_dock.py --- 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):