[orca/gnome-3-4] Disable braille monitor if the import fails



commit 0dcb9f6210720757bc886777109c3a813503eea5
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Apr 3 16:42:53 2012 -0400

    Disable braille monitor if the import fails

 src/orca/braille.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/braille.py b/src/orca/braille.py
index 994ea5a..7199d4f 100644
--- a/src/orca/braille.py
+++ b/src/orca/braille.py
@@ -64,7 +64,8 @@ try:
     #
     import brlmon
 except:
-    pass
+    settings.enableBrailleMonitor = False
+
 import debug
 import eventsynthesizer
 import orca_state



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]