Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/readtoolbar.py
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-03-09 18:20:54 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-03-09 18:20:54 (GMT)
commit6ff15a68c4aca2cbc311ac80070c3930145f8e9e (patch)
tree689eedd12181ad3c080c4fa8399429e84ba616e5 /readtoolbar.py
parent05899840483e1911b4e90180b3978c159a8cd00f (diff)
Support gst-plugins-espeak
Diffstat (limited to 'readtoolbar.py')
-rw-r--r--readtoolbar.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/readtoolbar.py b/readtoolbar.py
index b34dcae..9f7b14f 100644
--- a/readtoolbar.py
+++ b/readtoolbar.py
@@ -275,8 +275,7 @@ class SpeechToolbar(gtk.Toolbar):
self.insert(combotool, -1)
combotool.show()
- self.pitchadj = gtk.Adjustment(speech.PITCH_DEFAULT, speech.PITCH_MIN,
- speech.PITCH_MAX, 1, 10, 0)
+ self.pitchadj = gtk.Adjustment(0, -100, 100, 1, 10, 0)
self.pitchadj.connect("value_changed", self.pitch_adjusted_cb)
pitchbar = gtk.HScale(self.pitchadj)
pitchbar.set_draw_value(False)
@@ -288,8 +287,7 @@ class SpeechToolbar(gtk.Toolbar):
self.insert(pitchtool, -1)
pitchbar.show()
- self.rateadj = gtk.Adjustment(speech.RATE_DEFAULT, speech.RATE_MIN,
- speech.RATE_MAX, 1, 10, 0)
+ self.rateadj = gtk.Adjustment(0, -100, 100, 1, 10, 0)
self.rateadj.connect("value_changed", self.rate_adjusted_cb)
ratebar = gtk.HScale(self.rateadj)
ratebar.set_draw_value(False)