diff options
author | Aleksey Lim <alsroot@sugarlabs.org> | 2012-06-06 20:02:27 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@sugarlabs.org> | 2012-06-06 20:02:27 (GMT) |
commit | b6e54cca0644502df3f831e698b7c1170035dc50 (patch) | |
tree | 93d6fcbb3db61e9dfc95a67ac30534fba962cba6 /Edit/MainWindow.py | |
parent | 79cebee24e862dd225a8352e9a9875e8bf5a8ecd (diff) |
Fix running in Fedora-14 environment
Diffstat (limited to 'Edit/MainWindow.py')
-rw-r--r-- | Edit/MainWindow.py | 2 |
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 ) |