Mercurial > code > home > repos > light9
changeset 703:54a3dcba6597
save works
Ignore-this: 5219eb13ba0a54943ae302bcc0f602fc
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sun, 10 Jun 2012 07:22:39 +0000 |
parents | 155c7bb9c948 |
children | d5a9933a2222 |
files | bin/curvecalc light9/curvecalc/curvecalc.glade |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/curvecalc Sun Jun 10 07:22:22 2012 +0000 +++ b/bin/curvecalc Sun Jun 10 07:22:39 2012 +0000 @@ -102,7 +102,7 @@ self.music.playOrPause(t=times[0] if times else None) def onSave(self, *args): - savekey(song, subterms, curveset) + savekey(self.song, self.subterms, self.curveset) def add_subterms_for_song(self, song, curveset, subterms, master): for st in self.graph.objects(song, L9['subterm']):
--- a/light9/curvecalc/curvecalc.glade Sun Jun 10 07:22:22 2012 +0000 +++ b/light9/curvecalc/curvecalc.glade Sun Jun 10 07:22:39 2012 +0000 @@ -31,6 +31,8 @@ <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="use_stock">True</property> + <accelerator key="s" signal="activate" modifiers="GDK_CONTROL_MASK"/> + <signal name="activate" handler="onSave" swapped="no"/> </object> </child> <child>