Mercurial > MadButterfly
changeset 1249:16a1166c3850
Add more method being monitored
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Tue, 11 Jan 2011 10:20:53 +0800 |
parents | 2f9fa5d59e67 |
children | 62eaa20b8cf7 |
files | pyink/MBScene.py |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/pyink/MBScene.py Tue Jan 11 10:04:14 2011 +0800 +++ b/pyink/MBScene.py Tue Jan 11 10:20:53 2011 +0800 @@ -110,7 +110,7 @@ self.window = win self.top = None self.last_update = None - pybInkscape.inkscape.connect('change_selection', self.on_selection) + pybInkscape.inkscape.connect('change_selection', self.do_selection) self.last_select = None self._lockui = False self._director = None @@ -219,7 +219,7 @@ self._director.show_scene(frame_idx) pass - def changeObjectLabel(self,w): + def do_changeObjectLabel(self,w): o = self.desktop.selection.list()[0] o.setAttribute("inkscape:label", self.nameEditor.get_text()) pass @@ -229,7 +229,7 @@ hbox.pack_start(self.nameEditor,expand=False,fill=False) self.editDone = gtk.Button('Set') hbox.pack_start(self.editDone,expand=False,fill=False) - self.editDone.connect('clicked', self.changeObjectLabel) + self.editDone.connect('clicked', self.do_changeObjectLabel) pass def addTweenTypeSelector(self, hbox): @@ -243,10 +243,10 @@ self.tweenTypeSelector.set_active(0) tweenbox.pack_start(self.tweenTypeSelector, expand=False, fill=False) hbox.pack_start(tweenbox, expand=False, fill=False) - self.tweenTypeSelector.connect('changed', self.onTweenTypeChange) + self.tweenTypeSelector.connect('changed', self.do_TweenTypeChange) pass - def on_selection(self,w,obj): + def do_selection(self,w,obj): objs = self.desktop.selection.list() try: o = objs[0] @@ -346,7 +346,7 @@ self._domview.rm_frames(layer_idx, frame_idx, 1) self.lockui=False - def onTweenTypeChange(self, w): + def do_TweenTypeChange(self, w): if self._disable_tween_type_selector: return