[orca] 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] Fix for Orca continuing to speak when speech is disabled via the preferences dialog
- Date: Sun, 11 Nov 2012 16:18:30 +0000 (UTC)
commit 548d73d2f00cb203b27c57e79a436ab0e6cbf16d
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sun Nov 11 11:17:16 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 e8eefa0..bf11d7f 100644
--- a/src/orca/orca_gui_prefs.py
+++ b/src/orca/orca_gui_prefs.py
@@ -867,7 +867,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]