[orca] Fix for bug #636841 - Orca does not speak user which gets selected when the user first presses down



commit aa579a5bb6cda785882e90932bf161824a202d33
Author: Michael Whapples <mwhapples aim com>
Date:   Wed Jan 5 17:32:26 2011 +0000

    Fix for bug #636841 - Orca does not speak user which gets selected when the user first presses down cursor in gdm login screen

 configure.in                                       |    1 +
 src/orca/scripts/apps/Makefile.am                  |    1 +
 .../scripts/apps/gdm-simple-greeter/Makefile.am    |    7 +++++++
 .../scripts/apps/gdm-simple-greeter/__init__.py    |    3 +++
 src/orca/scripts/apps/gdm-simple-greeter/script.py |   14 ++++++++++++++
 5 files changed, 26 insertions(+), 0 deletions(-)
---
diff --git a/configure.in b/configure.in
index 6482701..db7f4ab 100644
--- a/configure.in
+++ b/configure.in
@@ -104,6 +104,7 @@ src/orca/scripts/apps/evolution/Makefile
 src/orca/scripts/apps/gajim/Makefile
 src/orca/scripts/apps/gcalctool/Makefile
 src/orca/scripts/apps/gdmlogin/Makefile
+src/orca/scripts/apps/gdm-simple-greeter/Makefile
 src/orca/scripts/apps/gedit/Makefile
 src/orca/scripts/apps/gnome_segv2/Makefile
 src/orca/scripts/apps/gnome-keyring-ask/Makefile
diff --git a/src/orca/scripts/apps/Makefile.am b/src/orca/scripts/apps/Makefile.am
index d5b01cf..1199526 100644
--- a/src/orca/scripts/apps/Makefile.am
+++ b/src/orca/scripts/apps/Makefile.am
@@ -10,6 +10,7 @@ SUBDIRS = \
 	gajim \
 	gcalctool \
 	gdmlogin \
+	gdm-simple-greeter \
 	gedit \
 	gnome_segv2 \
 	gnome-keyring-ask \
diff --git a/src/orca/scripts/apps/gdm-simple-greeter/Makefile.am b/src/orca/scripts/apps/gdm-simple-greeter/Makefile.am
new file mode 100644
index 0000000..6e1587f
--- /dev/null
+++ b/src/orca/scripts/apps/gdm-simple-greeter/Makefile.am
@@ -0,0 +1,7 @@
+orca_pathdir=$(pyexecdir)
+
+orca_python_PYTHON = \
+	__init__.py \
+	script.py
+
+orca_pythondir=$(pyexecdir)/orca/scripts/apps/gdm-simple-greeter
diff --git a/src/orca/scripts/apps/gdm-simple-greeter/__init__.py b/src/orca/scripts/apps/gdm-simple-greeter/__init__.py
new file mode 100644
index 0000000..14afa8d
--- /dev/null
+++ b/src/orca/scripts/apps/gdm-simple-greeter/__init__.py
@@ -0,0 +1,3 @@
+"""Custom script for gdm-simple-greeter"""
+
+from script import Script
diff --git a/src/orca/scripts/apps/gdm-simple-greeter/script.py b/src/orca/scripts/apps/gdm-simple-greeter/script.py
new file mode 100644
index 0000000..49558b6
--- /dev/null
+++ b/src/orca/scripts/apps/gdm-simple-greeter/script.py
@@ -0,0 +1,14 @@
+"""Custom script for gdm-simple-greeter"""
+import orca.default as default
+
+class Script(default.Script):
+    def __init__(self, app):
+        """Creates a new script for the given application
+
+        Arguments:
+        - app: the application to create the script for
+        """
+        default.Script.__init__(self, app)
+
+    def stopSpeechOnActiveDescendantChanged(self, event):
+        return False



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