[orca/gnome-3-6] Fix for Orca continuing to speak when speech is disabled via the preferences dialog
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-6] Fix for Orca continuing to speak when speech is disabled via the preferences dialog
- Date: Sun, 11 Nov 2012 16:18:25 +0000 (UTC)
commit d9e45ed7056870d20bbd45b0c60f51c22b5e54a8
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sun Nov 11 11:18:06 2012 -0500
Fix for Orca continuing to speak when speech is disabled via the preferences dialog
src/orca/orca_gui_prefs.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/orca_gui_prefs.py b/src/orca/orca_gui_prefs.py
index 8100c28..f8b3263 100644
--- a/src/orca/orca_gui_prefs.py
+++ b/src/orca/orca_gui_prefs.py
@@ -875,7 +875,7 @@ class OrcaSetupGUI(orca_gtkbuilder.GtkBuilderWrapper):
# Where * = speechSystems, speechServers, speechFamilies
#
factories = speech.getSpeechServerFactories()
- if len(factories) == 0:
+ if len(factories) == 0 or not self.prefsDict.get('enableSpeech', True):
self.workingFactories = []
self.speechSystemsChoice = None
self.speechServersChoices = []
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]