Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/GUI/Core/MainWindow.py
diff options
context:
space:
mode:
authorjames <james@loggerhead.localdomain>2006-10-26 18:05:19 (GMT)
committer james <james@loggerhead.localdomain>2006-10-26 18:05:19 (GMT)
commit1f0c121a1c33c801283108490c47ccbd5f416145 (patch)
tree71ce8c8fb656424865a04d0320d6c88bff65568e /GUI/Core/MainWindow.py
parent5ab3dd8b32edfce4d843ad715c01f99b01a8d074 (diff)
parentead32c154ba15c5fd6cc060926a1e09243988763 (diff)
Merge branch 'master' of git+ssh://jaberg@dev.laptop.org/git/projects/tamtam
Diffstat (limited to 'GUI/Core/MainWindow.py')
-rw-r--r--GUI/Core/MainWindow.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/GUI/Core/MainWindow.py b/GUI/Core/MainWindow.py
index dead0fc..06e6181 100644
--- a/GUI/Core/MainWindow.py
+++ b/GUI/Core/MainWindow.py
@@ -228,7 +228,13 @@ class MainWindow( gtk.Window ):
instrumentMenuItem = gtk.MenuItem( "Instrument" )
instrumentMenuItem.set_submenu( instrumentMenu )
- instrumentNames = CSoundConstants.INSTRUMENTS.keys()
+ instrumentNames = []
+ instrumentFolderNames = CSoundConstants.INSTRUMENTS.keys()
+ for instrumentName in instrumentFolderNames:
+ if not instrumentName[0: 4] == 'drum':
+ instrumentNames.append( instrumentName )
+
+ instrumentNames.append( 'drum1kit' )
instrumentNames.sort()
for instrumentName in instrumentNames:
menuItem = gtk.MenuItem( instrumentName )