Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Edit
diff options
context:
space:
mode:
authorNat <natcl@hotmail.com>2007-09-06 16:46:15 (GMT)
committer Nat <natcl@hotmail.com>2007-09-06 16:46:15 (GMT)
commit853ab0577d0dbe06fe2ea675109c57d5999dba07 (patch)
tree73286dc34ed92a99416ca7a704a5cbe1adde4ecf /Edit
parentf969f251360cdf589a547c6df6df9da59d51fc27 (diff)
Palette fix
Diffstat (limited to 'Edit')
-rw-r--r--Edit/MainWindow.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Edit/MainWindow.py b/Edit/MainWindow.py
index dc284e6..58f82f1 100644
--- a/Edit/MainWindow.py
+++ b/Edit/MainWindow.py
@@ -2053,14 +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