orca r4070 - in trunk: . src/orca



Author: joanied
Date: Wed Jul 30 06:32:22 2008
New Revision: 4070
URL: http://svn.gnome.org/viewvc/orca?rev=4070&view=rev

Log:
* src/orca/default.py:
  Fix for bug #545342 - Can no longer shift+click using Orca.



Modified:
   trunk/ChangeLog
   trunk/src/orca/default.py

Modified: trunk/src/orca/default.py
==============================================================================
--- trunk/src/orca/default.py	(original)
+++ trunk/src/orca/default.py	Wed Jul 30 06:32:22 2008
@@ -1019,17 +1019,21 @@
 
         keyBindings = keybindings.KeyBindings()
 
+        # We want the user to be able to combine modifiers with the
+        # mouse click (e.g. to Shift+Click and select), therefore we
+        # do not "care" about the modifiers.
+        #
         keyBindings.add(
             keybindings.KeyBinding(
                 "KP_Divide",
-                settings.defaultModifierMask,
+                settings.NO_MODIFIER_MASK,
                 settings.NO_MODIFIER_MASK,
                 self.inputEventHandlers["leftClickReviewItemHandler"]))
 
         keyBindings.add(
             keybindings.KeyBinding(
                 "KP_Multiply",
-                settings.defaultModifierMask,
+                settings.NO_MODIFIER_MASK,
                 settings.NO_MODIFIER_MASK,
                 self.inputEventHandlers["rightClickReviewItemHandler"]))
 
@@ -1405,17 +1409,22 @@
 
         keyBindings = keybindings.KeyBindings()
 
+        # We want the user to be able to combine modifiers with the
+        # mouse click (e.g. to Shift+Click and select), therefore we
+        # do not "care" about the modifiers (other than the Orca
+        # modifier).
+        #
         keyBindings.add(
             keybindings.KeyBinding(
                 "7",
-                settings.defaultModifierMask,
+                settings.ORCA_MODIFIER_MASK,
                 settings.ORCA_MODIFIER_MASK,
                 self.inputEventHandlers["leftClickReviewItemHandler"]))
 
         keyBindings.add(
             keybindings.KeyBinding(
                 "8",
-                settings.defaultModifierMask,
+                settings.ORCA_MODIFIER_MASK,
                 settings.ORCA_MODIFIER_MASK,
                 self.inputEventHandlers["rightClickReviewItemHandler"]))
 



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