Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Edit
diff options
context:
space:
mode:
authoramartin <olpc@xo-05-28-21.localdomain>2007-09-10 05:03:46 (GMT)
committer amartin <olpc@xo-05-28-21.localdomain>2007-09-10 05:03:46 (GMT)
commit94bb67b45c07c8ba6fa94be17852e29958d6c75d (patch)
treee09658498ce3d6e2b2841cb57b2390363a9f149b /Edit
parent7e682ce7620f1f8a9fb9b4ffc4f4039dbfdffc56 (diff)
parentf5c1a8c3c8fa92d25c45345f971e2789ffb58271 (diff)
Merge branch 'master' of git+ssh://amartin@dev.laptop.org/git/projects/tamtam
Diffstat (limited to 'Edit')
-rw-r--r--Edit/MainWindow.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Edit/MainWindow.py b/Edit/MainWindow.py
index e34fc19..58f82f1 100644
--- a/Edit/MainWindow.py
+++ b/Edit/MainWindow.py
@@ -2053,13 +2053,13 @@ class InstrumentButton( gtk.DrawingArea ):
def set_palette(self, palette):
self._palette = palette
self._palette.props.invoker = WidgetInvoker(self)
+ self._palette.props.invoker._position_hint = WidgetInvoker.AT_CURSOR #This is a hack, will change with newer Palette API
+
class instrumentPalette(Palette):
def __init__(self, label, trackID, edit):
Palette.__init__(self, label)
-
- self.set_property("position", Palette.AT_CURSOR)
-
+
self.trackID = trackID
self.edit = edit
@@ -2087,5 +2087,5 @@ 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