0ec36b3fe0
This switches to the new gnome-2.20 branch.
28 lines
1.3 KiB
Text
28 lines
1.3 KiB
Text
$NetBSD: patch-ab,v 1.2 2007/11/05 20:02:39 drochner Exp $
|
|
|
|
--- src/orca/orca_gui_prefs.py.orig 2007-10-13 02:42:18.000000000 +0200
|
|
+++ src/orca/orca_gui_prefs.py
|
|
@@ -2952,14 +2952,15 @@ class orcaSetupGUI(orca_glade.GladeWrapp
|
|
|
|
enable = self.speechSupportCheckbutton.get_active()
|
|
self.prefsDict["enableSpeech"] = enable
|
|
- self.prefsDict["speechServerFactory"] = \
|
|
- self.speechSystemsChoice.__name__
|
|
- self.prefsDict["speechServerInfo"] = self.speechServersChoice.getInfo()
|
|
- self.prefsDict["voices"] = {
|
|
- settings.DEFAULT_VOICE : acss.ACSS(self.defaultVoice),
|
|
- settings.UPPERCASE_VOICE : acss.ACSS(self.uppercaseVoice),
|
|
- settings.HYPERLINK_VOICE : acss.ACSS(self.hyperlinkVoice)
|
|
- }
|
|
+ if enable:
|
|
+ self.prefsDict["speechServerFactory"] = \
|
|
+ self.speechSystemsChoice.__name__
|
|
+ self.prefsDict["speechServerInfo"] = self.speechServersChoice.getInfo()
|
|
+ self.prefsDict["voices"] = {
|
|
+ settings.DEFAULT_VOICE : acss.ACSS(self.defaultVoice),
|
|
+ settings.UPPERCASE_VOICE : acss.ACSS(self.uppercaseVoice),
|
|
+ settings.HYPERLINK_VOICE : acss.ACSS(self.hyperlinkVoice)
|
|
+ }
|
|
|
|
settings.setGKSUGrabDisabled(self.disableKeyGrabPref)
|
|
|