Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--SynthLab/SynthLabToolbars.py78
-rw-r--r--SynthLab/SynthLabWindow.py6
-rw-r--r--icons/preset1.svg12
-rw-r--r--icons/preset10.svg15
-rw-r--r--icons/preset2.svg14
-rw-r--r--icons/preset3.svg16
-rw-r--r--icons/preset4.svg13
-rw-r--r--icons/preset5.svg13
-rw-r--r--icons/preset6.svg17
-rw-r--r--icons/preset7.svg12
-rw-r--r--icons/preset8.svg17
-rw-r--r--icons/preset9.svg17
-rw-r--r--icons/reset.svg10
-rw-r--r--miniTamTam/miniToolbars.py4
14 files changed, 238 insertions, 6 deletions
diff --git a/SynthLab/SynthLabToolbars.py b/SynthLab/SynthLabToolbars.py
index 48a565b..5e521b2 100644
--- a/SynthLab/SynthLabToolbars.py
+++ b/SynthLab/SynthLabToolbars.py
@@ -75,6 +75,19 @@ class mainToolbar(gtk.Toolbar):
self.synthRec6Button.show()
self.synthRec6Button.set_tooltip(_('Record Synth sound into slot 6'))
+ _insertSeparator()
+ _insertSeparator()
+ _insertSeparator()
+ _insertSeparator()
+ _insertSeparator()
+ _insertSeparator()
+
+ self.resetButton = ToolButton('reset')
+ self.resetButton.connect('clicked',self.synthLab.handleReset)
+ self.insert(self.resetButton, -1)
+ self.resetButton.show()
+ self.resetButton.set_tooltip(_('Reset the worktable'))
+
class presetToolbar(gtk.Toolbar):
def __init__(self,toolbox, synthLab):
gtk.Toolbar.__init__(self)
@@ -88,9 +101,68 @@ class presetToolbar(gtk.Toolbar):
self.toolbox = toolbox
self.synthLab = synthLab
- self.preset1Button = ToggleToolButton('preset1')
- self.preset1Button.connect('clicked',self.synthLab.recordSound,1)
+ self.preset1Button = RadioToolButton('preset1', group = None)
+ self.preset1Button.connect('clicked',self.synthLab.presetCallback,1)
self.insert(self.preset1Button, -1)
self.preset1Button.show()
- self.preset1Button.set_tooltip(_('Record Synth sound into slot 1'))
+ self.preset1Button.set_tooltip(_('Preset 1'))
+
+ self.preset2Button = RadioToolButton('preset2', group = self.preset1Button)
+ self.preset2Button.connect('clicked',self.synthLab.presetCallback,2)
+ self.insert(self.preset2Button, -1)
+ self.preset2Button.show()
+ self.preset2Button.set_tooltip(_('Preset 2'))
+
+ self.preset3Button = RadioToolButton('preset3', group = self.preset1Button)
+ self.preset3Button.connect('clicked',self.synthLab.presetCallback,3)
+ self.insert(self.preset3Button, -1)
+ self.preset3Button.show()
+ self.preset3Button.set_tooltip(_('Preset 3'))
+
+ self.preset4Button = RadioToolButton('preset4', group = self.preset1Button)
+ self.preset4Button.connect('clicked',self.synthLab.presetCallback,4)
+ self.insert(self.preset4Button, -1)
+ self.preset4Button.show()
+ self.preset4Button.set_tooltip(_('Preset 4'))
+
+ self.preset4Button = RadioToolButton('preset4', group = self.preset1Button)
+ self.preset4Button.connect('clicked',self.synthLab.presetCallback,4)
+ self.insert(self.preset4Button, -1)
+ self.preset4Button.show()
+ self.preset4Button.set_tooltip(_('Preset 4'))
+
+ self.preset5Button = RadioToolButton('preset5', group = self.preset1Button)
+ self.preset5Button.connect('clicked',self.synthLab.presetCallback,5)
+ self.insert(self.preset5Button, -1)
+ self.preset5Button.show()
+ self.preset5Button.set_tooltip(_('Preset 5'))
+
+ self.preset6Button = RadioToolButton('preset6', group = self.preset1Button)
+ self.preset6Button.connect('clicked',self.synthLab.presetCallback,6)
+ self.insert(self.preset6Button, -1)
+ self.preset6Button.show()
+ self.preset6Button.set_tooltip(_('Preset 6'))
+
+ self.preset7Button = RadioToolButton('preset7', group = self.preset1Button)
+ self.preset7Button.connect('clicked',self.synthLab.presetCallback,7)
+ self.insert(self.preset7Button, -1)
+ self.preset7Button.show()
+ self.preset7Button.set_tooltip(_('Preset 7'))
+
+ self.preset8Button = RadioToolButton('preset8', group = self.preset1Button)
+ self.preset8Button.connect('clicked',self.synthLab.presetCallback,8)
+ self.insert(self.preset8Button, -1)
+ self.preset8Button.show()
+ self.preset8Button.set_tooltip(_('Preset 8'))
+
+ self.preset9Button = RadioToolButton('preset9', group = self.preset1Button)
+ self.preset9Button.connect('clicked',self.synthLab.presetCallback,9)
+ self.insert(self.preset9Button, -1)
+ self.preset9Button.show()
+ self.preset9Button.set_tooltip(_('Preset 9'))
+ self.preset10Button = RadioToolButton('preset10', group = self.preset1Button)
+ self.preset10Button.connect('clicked',self.synthLab.presetCallback,10)
+ self.insert(self.preset10Button, -1)
+ self.preset10Button.show()
+ self.preset10Button.set_tooltip(_('Preset 10')) \ No newline at end of file
diff --git a/SynthLab/SynthLabWindow.py b/SynthLab/SynthLabWindow.py
index 453e6e8..2896d82 100644
--- a/SynthLab/SynthLabWindow.py
+++ b/SynthLab/SynthLabWindow.py
@@ -210,7 +210,7 @@ class SynthLabWindow(SubActivity):
if tempFile in os.listdir(Config.PREF_DIR):
self.handleLoadTemp()
else:
- self.presetCallback(self.presets,0)
+ self.presetCallback(self.presets,1)
self.show_all()
@@ -303,7 +303,7 @@ class SynthLabWindow(SubActivity):
# deep copy the list
self.locations = [ loc[:] for loc in SynthLabConstants.INIT_LOCATIONS ]
- def handleReset( self, widget, data ):
+ def handleReset( self, widget, data = None):
self.resetLocations()
self.objectCount = len(self.locations)
for i in range(self.objectCount):
@@ -1128,7 +1128,7 @@ class SynthLabWindow(SubActivity):
self.invalidate_rect( 0, 0, self.drawingAreaWidth, self.drawingAreaHeight )
def presetCallback( self, widget, data ):
- preset = 'synthFile' + str(data+1)
+ preset = 'synthFile' + str(data)
f = shelve.open( Config.TAM_TAM_ROOT + '/Resources/SynthFiles/' + preset, 'r')
self.loadState(f)
f.close()
diff --git a/icons/preset1.svg b/icons/preset1.svg
new file mode 100644
index 0000000..a7b61fe
--- /dev/null
+++ b/icons/preset1.svg
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14576) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="45.395px" height="45.395px" viewBox="0 0 45.395 45.395" enable-background="new 0 0 45.395 45.395" xml:space="preserve">
+<polygon fill="none" stroke="#FFFFFF" stroke-width="2" points="4.99,0.966 4.99,43.698 38.209,43.698 38.323,9.642 29.648,1.194
+ "/>
+<polyline fill="#E6E3E1" stroke="#5D6060" stroke-width="2" points="29.531,1.239 29.531,9.95 38.364,9.95 "/>
+<g>
+ <path fill="#FFFFFF" d="M20.114,19.759h-0.036l-2.233,1.062l-0.45-2.053l3.097-1.44h2.269v11.704h-2.646V19.759z"/>
+</g>
+</svg>
diff --git a/icons/preset10.svg b/icons/preset10.svg
new file mode 100644
index 0000000..85c0250
--- /dev/null
+++ b/icons/preset10.svg
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14576) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="45.395px" height="45.395px" viewBox="0 0 45.395 45.395" enable-background="new 0 0 45.395 45.395" xml:space="preserve">
+<polygon fill="none" stroke="#FFFFFF" stroke-width="2" points="4.99,0.966 4.99,43.698 38.209,43.698 38.323,9.642 29.648,1.194
+ "/>
+<polyline fill="#E6E3E1" stroke="#5D6060" stroke-width="2" points="29.531,1.239 29.531,9.95 38.364,9.95 "/>
+<g>
+ <path fill="#FFFFFF" d="M14.916,20.592H14.88l-2.232,1.062l-0.45-2.053l3.097-1.44h2.27v11.704h-2.647V20.592z"/>
+ <path fill="#FFFFFF" d="M30.056,23.959c0,3.619-1.458,6.104-4.447,6.104c-3.024,0-4.357-2.719-4.375-6.032
+ c0-3.385,1.44-6.067,4.466-6.067C28.832,17.963,30.056,20.754,30.056,23.959z M23.989,24.031c-0.018,2.683,0.63,3.962,1.692,3.962
+ s1.639-1.333,1.639-3.998c0-2.592-0.559-3.961-1.656-3.961C24.655,20.033,23.971,21.312,23.989,24.031z"/>
+</g>
+</svg>
diff --git a/icons/preset2.svg b/icons/preset2.svg
new file mode 100644
index 0000000..8b31394
--- /dev/null
+++ b/icons/preset2.svg
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14576) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="45.395px" height="45.395px" viewBox="0 0 45.395 45.395" enable-background="new 0 0 45.395 45.395" xml:space="preserve">
+<polygon fill="none" stroke="#FFFFFF" stroke-width="2" points="4.99,0.966 4.99,43.698 38.209,43.698 38.323,9.642 29.648,1.194
+ "/>
+<polyline fill="#E6E3E1" stroke="#5D6060" stroke-width="2" points="29.531,1.239 29.531,9.95 38.364,9.95 "/>
+<g>
+ <path fill="#FFFFFF" d="M17.119,29.365v-1.656l1.513-1.368c2.557-2.287,3.799-3.602,3.835-4.97c0-0.955-0.576-1.711-1.927-1.711
+ c-1.008,0-1.89,0.504-2.502,0.973l-0.774-1.963c0.882-0.666,2.251-1.206,3.835-1.206c2.646,0,4.105,1.548,4.105,3.673
+ c0,1.963-1.423,3.529-3.115,5.042l-1.08,0.9v0.035h4.411v2.251H17.119z"/>
+</g>
+</svg>
diff --git a/icons/preset3.svg b/icons/preset3.svg
new file mode 100644
index 0000000..55b923a
--- /dev/null
+++ b/icons/preset3.svg
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14576) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="45.395px" height="45.395px" viewBox="0 0 45.395 45.395" enable-background="new 0 0 45.395 45.395" xml:space="preserve">
+<polygon fill="none" stroke="#FFFFFF" stroke-width="2" points="4.99,0.966 4.99,43.698 38.209,43.698 38.323,9.642 29.648,1.194
+ "/>
+<polyline fill="#E6E3E1" stroke="#5D6060" stroke-width="2" points="29.531,1.239 29.531,9.95 38.364,9.95 "/>
+<g>
+ <path fill="#FFFFFF" d="M18.107,26.848c0.486,0.252,1.603,0.72,2.719,0.72c1.423,0,2.143-0.684,2.143-1.566
+ c0-1.152-1.152-1.674-2.358-1.674h-1.116v-1.963h1.062c0.918-0.018,2.088-0.36,2.088-1.351c0-0.702-0.576-1.224-1.729-1.224
+ c-0.954,0-1.962,0.414-2.448,0.702l-0.559-1.981c0.702-0.45,2.107-0.882,3.619-0.882c2.503,0,3.89,1.314,3.89,2.917
+ c0,1.243-0.702,2.215-2.143,2.719V23.3c1.404,0.253,2.538,1.314,2.538,2.846c0,2.07-1.818,3.583-4.789,3.583
+ c-1.513,0-2.791-0.396-3.475-0.828L18.107,26.848z"/>
+</g>
+</svg>
diff --git a/icons/preset4.svg b/icons/preset4.svg
new file mode 100644
index 0000000..d56061f
--- /dev/null
+++ b/icons/preset4.svg
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14576) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="45.395px" height="45.395px" viewBox="0 0 45.395 45.395" enable-background="new 0 0 45.395 45.395" xml:space="preserve">
+<polygon fill="none" stroke="#FFFFFF" stroke-width="2" points="4.99,0.966 4.99,43.698 38.209,43.698 38.323,9.642 29.648,1.194
+ "/>
+<polyline fill="#E6E3E1" stroke="#5D6060" stroke-width="2" points="29.531,1.239 29.531,9.95 38.364,9.95 "/>
+<g>
+ <path fill="#FFFFFF" d="M21.297,30.032v-2.791h-5.185v-1.782l4.43-7.13h3.349v6.86h1.404v2.053h-1.404v2.791H21.297z
+ M21.297,25.189v-2.592c0-0.703,0.037-1.422,0.09-2.179h-0.07c-0.379,0.756-0.685,1.44-1.082,2.179l-1.566,2.557v0.035H21.297z"/>
+</g>
+</svg>
diff --git a/icons/preset5.svg b/icons/preset5.svg
new file mode 100644
index 0000000..68c7eb0
--- /dev/null
+++ b/icons/preset5.svg
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14576) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="45.395px" height="45.395px" viewBox="0 0 45.395 45.395" enable-background="new 0 0 45.395 45.395" xml:space="preserve">
+<polygon fill="none" stroke="#FFFFFF" stroke-width="2" points="4.99,0.966 4.99,45.031 38.209,45.031 38.323,9.642 29.648,1.194
+ "/>
+<polyline fill="#E6E3E1" stroke="#5D6060" stroke-width="2" points="29.531,1.239 29.531,9.95 38.364,9.95 "/>
+<path fill="#FFFFFF" d="M25.223,20.605h-4.537l-0.252,1.8c0.252-0.036,0.468-0.036,0.756-0.036c1.117,0,2.251,0.252,3.08,0.846
+ c0.883,0.594,1.422,1.566,1.422,2.936c0,2.178-1.873,4.105-5.023,4.105c-1.423,0-2.611-0.324-3.259-0.666l0.486-2.053
+ c0.522,0.252,1.585,0.576,2.647,0.576c1.134,0,2.34-0.541,2.34-1.783c0-1.207-0.955-1.945-3.295-1.945
+ c-0.648,0-1.098,0.037-1.584,0.109l0.774-6.141h6.445V20.605z"/>
+</svg>
diff --git a/icons/preset6.svg b/icons/preset6.svg
new file mode 100644
index 0000000..a5543e3
--- /dev/null
+++ b/icons/preset6.svg
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14576) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="45.395px" height="45.395px" viewBox="0 0 45.395 45.395" enable-background="new 0 0 45.395 45.395" xml:space="preserve">
+<polygon fill="none" stroke="#FFFFFF" stroke-width="2" points="4.99,0.966 4.99,43.698 38.209,43.698 38.323,9.642 29.648,1.194
+ "/>
+<polyline fill="#E6E3E1" stroke="#5D6060" stroke-width="2" points="29.531,1.24 29.531,9.95 38.365,9.95 "/>
+<g>
+ <path fill="#FFFFFF" d="M24.759,20.773c-0.307,0-0.63,0-1.062,0.036c-2.431,0.198-3.511,1.44-3.816,2.81h0.055
+ c0.576-0.595,1.386-0.938,2.484-0.938c1.963,0,3.619,1.387,3.619,3.817c0,2.321-1.782,4.23-4.321,4.23
+ c-3.115,0-4.646-2.322-4.646-5.113c0-2.196,0.812-4.033,2.07-5.203c1.171-1.062,2.685-1.639,4.521-1.729
+ c0.505-0.036,0.828-0.036,1.099-0.018L24.759,20.773L24.759,20.773z M21.698,28.713c0.953,0,1.565-0.883,1.565-2.07
+ c0-1.081-0.576-2.018-1.747-2.018c-0.738,0-1.351,0.451-1.62,1.045c-0.071,0.145-0.107,0.358-0.107,0.684
+ c0.054,1.242,0.647,2.359,1.891,2.359H21.698z"/>
+</g>
+</svg>
diff --git a/icons/preset7.svg b/icons/preset7.svg
new file mode 100644
index 0000000..28611d9
--- /dev/null
+++ b/icons/preset7.svg
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14576) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="45.395px" height="45.395px" viewBox="0 0 45.395 45.395" enable-background="new 0 0 45.395 45.395" xml:space="preserve">
+<polygon fill="none" stroke="#FFFFFF" stroke-width="2" points="4.99,0.966 4.99,43.698 38.209,43.698 38.323,9.642 29.648,1.194
+ "/>
+<polyline fill="#E6E3E1" stroke="#5D6060" stroke-width="2" points="29.531,1.239 29.531,9.95 38.364,9.95 "/>
+<g>
+ <path fill="#FFFFFF" d="M26.344,19.493v1.729l-4.825,9.976H18.62l4.825-9.417v-0.036h-5.366v-2.251H26.344z"/>
+</g>
+</svg>
diff --git a/icons/preset8.svg b/icons/preset8.svg
new file mode 100644
index 0000000..4f5f030
--- /dev/null
+++ b/icons/preset8.svg
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14576) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="45.395px" height="45.395px" viewBox="0 0 45.395 45.395" enable-background="new 0 0 45.395 45.395" xml:space="preserve">
+<polygon fill="none" stroke="#FFFFFF" stroke-width="2" points="4.99,0.966 4.99,43.698 38.209,43.698 38.323,9.642 29.648,1.194
+ "/>
+<polyline fill="#E6E3E1" stroke="#5D6060" stroke-width="2" points="29.531,1.239 29.531,9.95 38.364,9.95 "/>
+<g>
+ <path fill="#FFFFFF" d="M19.362,23.982c-1.135-0.576-1.692-1.53-1.692-2.557c0-1.98,1.782-3.295,4.123-3.295
+ c2.736,0,3.871,1.584,3.871,3.007c0,1.008-0.54,1.999-1.692,2.574v0.055c1.134,0.432,2.143,1.404,2.143,2.916
+ c0,2.125-1.783,3.548-4.502,3.548c-2.971,0-4.339-1.675-4.339-3.259c0-1.404,0.811-2.377,2.089-2.936V23.982z M23.323,26.881
+ c0-1.027-0.756-1.639-1.837-1.928c-0.899,0.253-1.422,0.9-1.422,1.747c-0.019,0.847,0.63,1.639,1.656,1.639
+ C22.693,28.339,23.323,27.709,23.323,26.881z M20.243,21.335c0,0.792,0.721,1.296,1.656,1.584c0.631-0.18,1.188-0.756,1.188-1.494
+ c0-0.72-0.414-1.44-1.422-1.44C20.73,19.985,20.243,20.597,20.243,21.335z"/>
+</g>
+</svg>
diff --git a/icons/preset9.svg b/icons/preset9.svg
new file mode 100644
index 0000000..ef71766
--- /dev/null
+++ b/icons/preset9.svg
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14576) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="45.395px" height="45.395px" viewBox="0 0 45.395 45.395" enable-background="new 0 0 45.395 45.395" xml:space="preserve">
+<polygon fill="none" stroke="#FFFFFF" stroke-width="2" points="4.99,0.966 4.99,43.698 38.209,43.698 38.323,9.642 29.648,1.194
+ "/>
+<polyline fill="#E6E3E1" stroke="#5D6060" stroke-width="2" points="29.531,1.239 29.531,9.95 38.364,9.95 "/>
+<g>
+ <path fill="#FFFFFF" d="M18.99,28.362c0.343,0.036,0.648,0.036,1.188,0c0.828-0.055,1.675-0.288,2.305-0.721
+ c0.757-0.521,1.261-1.277,1.477-2.16l-0.054-0.018c-0.522,0.539-1.278,0.846-2.341,0.846c-1.98,0-3.655-1.387-3.655-3.655
+ c0-2.287,1.837-4.213,4.411-4.213c3.007,0,4.43,2.305,4.43,5.042c0,2.43-0.774,4.213-2.053,5.383
+ c-1.116,1.009-2.646,1.566-4.465,1.639c-0.469,0.036-0.937,0.018-1.243,0V28.362z M22.231,20.439c-0.918,0-1.603,0.828-1.584,2.052
+ c0,1.009,0.54,1.873,1.656,1.873c0.738,0,1.261-0.36,1.513-0.774c0.09-0.162,0.144-0.342,0.144-0.684
+ c0-1.243-0.468-2.467-1.71-2.467H22.231z"/>
+</g>
+</svg>
diff --git a/icons/reset.svg b/icons/reset.svg
new file mode 100644
index 0000000..2c553a1
--- /dev/null
+++ b/icons/reset.svg
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 13.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 14576) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="45.395px" height="45.395px" viewBox="0 0 45.395 45.395" enable-background="new 0 0 45.395 45.395" xml:space="preserve">
+<polygon fill="none" stroke="#FFFFFF" stroke-width="2" points="33.865,41.531 11.531,41.198 7.323,9.323 38.448,9.323 "/>
+<path fill="none" stroke="#FFFFFF" stroke-width="2" d="M7.323,7.198c22.004-2.468,25.334-2.75,29.459-3.5s-9.667-3.25-13.959-2.75
+ c-2.002,0.233-9,1.375-14.125,4.875"/>
+<path fill="none" stroke="#FFFFFF" stroke-width="2" d="M17.698,0.531l7.334-1.333c0,0-3.667-1.917-6.25,0.583"/>
+</svg>
diff --git a/miniTamTam/miniToolbars.py b/miniTamTam/miniToolbars.py
index d066f07..0d07f7b 100644
--- a/miniTamTam/miniToolbars.py
+++ b/miniTamTam/miniToolbars.py
@@ -123,6 +123,10 @@ class recordToolbar(gtk.Toolbar):
_insertSeparator()
_insertSeparator()
+ _insertSeparator()
+ _insertSeparator()
+ _insertSeparator()
+ _insertSeparator()
self.keyboardRecButton = ToggleToolButton('keyrec')
self.keyboardRecButton.connect('clicked', self.miniTamTam.sequencer.handleRecordButton, True)