orca r3861 - in trunk: . src/orca/scripts
- From: wwalker svn gnome org
 
- To: svn-commits-list gnome org
 
- Subject: orca r3861 - in trunk: . src/orca/scripts
 
- Date: Tue, 29 Apr 2008 15:50:17 +0100 (BST)
 
Author: wwalker
Date: Tue Apr 29 14:50:17 2008
New Revision: 3861
URL: http://svn.gnome.org/viewvc/orca?rev=3861&view=rev
Log:
Fix for bug #517387 - Orca should not read password out in gdm login window
Modified:
   trunk/ChangeLog
   trunk/src/orca/scripts/gdmlogin.py
Modified: trunk/src/orca/scripts/gdmlogin.py
==============================================================================
--- trunk/src/orca/scripts/gdmlogin.py	(original)
+++ trunk/src/orca/scripts/gdmlogin.py	Tue Apr 29 14:50:17 2008
@@ -28,6 +28,7 @@
 
 import orca.default as default
 import orca.orca as orca
+import orca.settings as settings
 
 ########################################################################
 #                                                                      #
@@ -59,3 +60,13 @@
             orca.setLocusOfFocus(event, obj)
         else:
             default.Script.onWindowActivated(self, event)
+
+    def activate(self):
+        """Called when this script is activated."""
+        # We disable key echo because gdm reuses the username text
+        # area for the password area and doesn't change the role 
+        # from 'text' to 'password' when doing so.  As a result,
+        # key echo will echo the keys typed when entering a password.
+        # See bug #517387.
+        #
+        settings.enableKeyEcho = False
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]