[orca] More debugging output
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] More debugging output
- Date: Thu, 28 Jan 2021 19:57:04 +0000 (UTC)
commit f8c9b63d26b199e399de513215380c46ee03217d
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Jan 28 20:56:07 2021 +0100
More debugging output
src/orca/settings_manager.py | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/src/orca/settings_manager.py b/src/orca/settings_manager.py
index df926e8a1..74ace605f 100644
--- a/src/orca/settings_manager.py
+++ b/src/orca/settings_manager.py
@@ -145,8 +145,14 @@ class SettingsManager(object):
debug.println(debug.LEVEL_INFO, 'SETTINGS MANAGER: Activated', True)
# Set the active profile and load its stored settings
+ msg = 'SETTINGS MANAGER: Current profile is %s' % self.profile
+ debug.println(debug.LEVEL_INFO, msg, True)
+
if self.profile is None:
self.profile = self.general.get('startingProfile')[1]
+ msg = 'SETTINGS MANAGER: Current profile is now %s' % self.profile
+ debug.println(debug.LEVEL_INFO, msg, True)
+
self.setProfile(self.profile)
def _loadBackend(self):
@@ -318,8 +324,10 @@ class SettingsManager(object):
return not alreadyEnabled
def isAccessibilityEnabled(self):
- msg = 'SETTINGS MANAGER: Is accessibility enabled? '
+ msg = 'SETTINGS MANAGER: Checking if accessibility is enabled.'
+ debug.println(debug.LEVEL_INFO, msg, True)
+ msg = 'SETTINGS MANAGER: Accessibility enabled: '
if not _proxy:
rv = False
msg += 'Error (no proxy)'
@@ -375,6 +383,9 @@ class SettingsManager(object):
Also the settings from that profile will be loading
and updated the current settings with them."""
+ msg = 'SETTINGS MANAGER: Setting profile to: %s' % profile
+ debug.println(debug.LEVEL_INFO, msg, True)
+
oldVoiceLocale = self.getVoiceLocale('default')
self.profile = profile
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]