[orca] Bugfix for #642285
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Bugfix for #642285
- Date: Mon, 14 Feb 2011 16:45:45 +0000 (UTC)
commit a05e71d289f96fc5d192d6ed1a1c9665bda9c34a
Author: Javier Hernández Antúnez <jhernandez emergya es>
Date: Mon Feb 14 17:37:14 2011 +0100
Bugfix for #642285
src/orca/orca_console_prefs.py | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/orca_console_prefs.py b/src/orca/orca_console_prefs.py
index 0a77d63..921a5b7 100644
--- a/src/orca/orca_console_prefs.py
+++ b/src/orca/orca_console_prefs.py
@@ -586,6 +586,13 @@ def showPreferencesUI(commandLineSettings):
sayAndPrint(_("Please enter y or n."))
prefsDict['firstStart'] = False
+
+ # Sanity check for bug #642285
+ #
+ if not prefsDict.has_key('profile'):
+ prefsDict['profile'] = settings.profile
+
+
logoutNeeded = _settingsManager.saveSettings(prefsDict, {}, {})
if logoutNeeded:
sayAndPrint(_("Accessibility support for GNOME has just been enabled."),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]