Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Edit/MainWindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'Edit/MainWindow.py')
-rw-r--r--Edit/MainWindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Edit/MainWindow.py b/Edit/MainWindow.py
index 8cb015f..bcdf59e 100644
--- a/Edit/MainWindow.py
+++ b/Edit/MainWindow.py
@@ -284,7 +284,7 @@ class MainWindow(gtk.EventBox):
self.GUI["2instrumentPanel"].pack_start( self.GUI["2drumBox"] )
self.GUI["2page"].pack_start( self.GUI["2instrumentPanel"], True )
# + track interface
- tracks_width = gtk.gdk.screen_width() - TRACK_SIZE * 1.25
+ tracks_width = gtk.gdk.screen_width() - int(TRACK_SIZE * 1.25)
self.trackInterface = TrackInterface( self.noteDB, self,
self.getScale, tracks_width)
self.noteDB.addListener( self.trackInterface, TrackInterfaceParasite, True )