diff options
author | Nat <natcl@hotmail.com> | 2007-09-04 17:21:59 (GMT) |
---|---|---|
committer | Nat <natcl@hotmail.com> | 2007-09-04 17:21:59 (GMT) |
commit | 2dec675e6b7272d314e33aea0a9aeab033720612 (patch) | |
tree | b9337acf7429ff9039909e10e851111a2dfa0e77 /Edit | |
parent | d78017c557bedd86184b1c3a541857a32bcddbae (diff) |
Stuff
Diffstat (limited to 'Edit')
-rw-r--r-- | Edit/MainWindow.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Edit/MainWindow.py b/Edit/MainWindow.py index e34fc19..972e057 100644 --- a/Edit/MainWindow.py +++ b/Edit/MainWindow.py @@ -2054,12 +2054,13 @@ class InstrumentButton( gtk.DrawingArea ): self._palette = palette self._palette.props.invoker = WidgetInvoker(self) + class instrumentPalette(Palette): def __init__(self, label, trackID, edit): Palette.__init__(self, label) - self.set_property("position", Palette.AT_CURSOR) - + self.set_property( "position", Palette.AT_CURSOR ) + self.trackID = trackID self.edit = edit @@ -2087,5 +2088,7 @@ class instrumentPalette(Palette): self.volumeBox.pack_start(self.volumeSlider, padding = 5) self.volumeBox.show_all() - self.set_content(self.volumeBox) + self.set_content(self.volumeBox) + +
\ No newline at end of file |