[orca] Add an orca-customizations.py option to override the disabled main window
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Add an orca-customizations.py option to override the disabled main window
- Date: Fri, 24 Feb 2012 01:14:11 +0000 (UTC)
commit debeb53eb4593b88e7417fb8aea2d60b98907f3a
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Feb 23 20:13:28 2012 -0500
Add an orca-customizations.py option to override the disabled main window
src/orca/orca.py | 2 +-
src/orca/settings.py | 5 +++++
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/orca.py b/src/orca/orca.py
index 0206b86..9c61196 100644
--- a/src/orca/orca.py
+++ b/src/orca/orca.py
@@ -888,7 +888,7 @@ def showMainWindowGUI(script=None, inputEvent=None):
globals(),
locals(),
[''])
- if settings.showMainWindow:
+ if settings.showMainWindow or settings.overrideDisabledMainWindow:
module.showMainUI()
else:
module.hideMainUI()
diff --git a/src/orca/settings.py b/src/orca/settings.py
index e2e0da4..0db93e1 100644
--- a/src/orca/settings.py
+++ b/src/orca/settings.py
@@ -458,6 +458,11 @@ quitOrcaNoConfirmation = False
#
presentLockingKeys = None
+# If True, ignore the directive in the autostart file which prevents the
+# main window from showing up.
+#
+overrideDisabledMainWindow = False
+
# Whether the user wants tooltips presented or not.
#
presentToolTips = False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]