[orca] Fix(ish) for bug 666594 - app-specific preferences broken: cannot be saved
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix(ish) for bug 666594 - app-specific preferences broken: cannot be saved
- Date: Thu, 22 Dec 2011 18:52:17 +0000 (UTC)
commit 758c0fe5c9e40a7705d09f10e26e3625fad44fee
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Dec 22 13:51:58 2011 -0500
Fix(ish) for bug 666594 - app-specific preferences broken: cannot be saved
src/orca/app_prefs.py | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/app_prefs.py b/src/orca/app_prefs.py
index 94bfe4a..dbbb0a6 100644
--- a/src/orca/app_prefs.py
+++ b/src/orca/app_prefs.py
@@ -29,6 +29,7 @@ __license__ = "LGPL"
import os
+import debug
import orca_prefs
import settings
@@ -90,7 +91,11 @@ class OrcaPrefs(orca_prefs.OrcaPrefs):
"""
self._writeKeyBindingsPreamble(prefs)
- self._iterateKeyBindings(prefs, treeModel)
+ try:
+ self._iterateKeyBindings(prefs, treeModel)
+ except:
+ debug.println(debug.LEVEL_FINEST, "FAILURE: _iterateKeyBindings")
+ debug.printException(debug.LEVEL_FINEST)
self._writeAppKeyBindingsPostamble(prefs, appName, appScript)
def _writePronunciationsPreamble(self, prefs):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]