[orca] Set sayAllOnLoad's default value to False for Evolution
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Set sayAllOnLoad's default value to False for Evolution
- Date: Thu, 22 Jan 2015 01:26:25 +0000 (UTC)
commit 0d2df4c5c510acb1274eebdde1e07b2d90a9f837
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Jan 21 20:23:06 2015 -0500
Set sayAllOnLoad's default value to False for Evolution
src/orca/scripts/apps/evolution/script.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/apps/evolution/script.py b/src/orca/scripts/apps/evolution/script.py
index fdfef7a..7e4de21 100644
--- a/src/orca/scripts/apps/evolution/script.py
+++ b/src/orca/scripts/apps/evolution/script.py
@@ -33,11 +33,14 @@ import orca.orca as orca
import orca.scripts.toolkits.gtk as gtk
import orca.scripts.toolkits.WebKitGtk as WebKitGtk
import orca.settings as settings
+import orca.settings_manager as settings_manager
from .braille_generator import BrailleGenerator
from .speech_generator import SpeechGenerator
from .script_utilities import Utilities
+_settingsManager = settings_manager.getManager()
+
########################################################################
# #
# The Evolution script class. #
@@ -53,6 +56,9 @@ class Script(WebKitGtk.Script):
- app: the application to create a script for.
"""
+ if _settingsManager.getSetting('sayAllOnLoad') == None:
+ _settingsManager.setSetting('sayAllOnLoad', False)
+
super().__init__(app)
self.presentIfInactive = False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]