[orca] Fix for Bug 667717 - Pressing the key combination for time/date after any other Orca keyboard shortc



commit de61f7fdca01ec02332bc3ea538fcb9cf4ba7f1e
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Thu Feb 2 23:29:53 2012 -0500

    Fix for Bug 667717 - Pressing the key combination for time/date after any other Orca keyboard shortcut causes the date to be spoken.

 src/orca/input_event.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/input_event.py b/src/orca/input_event.py
index 446a374..3a7a635 100644
--- a/src/orca/input_event.py
+++ b/src/orca/input_event.py
@@ -86,7 +86,8 @@ class InputEvent:
             orca_state.clickCount = 1
             return
 
-        if self.time - lastInputEvent.time < settings.doubleClickTimeout:
+        if self.time - lastInputEvent.time < settings.doubleClickTimeout \
+            and lastInputEvent.event_string == self.event_string:
             # Cap the possible number of clicks at 3.
             if orca_state.clickCount < 3:
                 orca_state.clickCount += 1



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