From b6e54cca0644502df3f831e698b7c1170035dc50 Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Wed, 06 Jun 2012 20:02:27 +0000 Subject: Fix running in Fedora-14 environment --- (limited to 'Edit/MainWindow.py') 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 ) -- cgit v0.9.1