[orca/gnome-3-12] Add structural navigation by link regardless of visited state



commit d2b36b0acceab9ee10c18c2a9712b94777b8edb9
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Feb 19 07:59:35 2014 -0500

    Add structural navigation by link regardless of visited state

 src/orca/cmdnames.py              |    6 ++++++
 src/orca/structural_navigation.py |    6 ++++++
 2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/cmdnames.py b/src/orca/cmdnames.py
index 30ff3f7..e4722e6 100644
--- a/src/orca/cmdnames.py
+++ b/src/orca/cmdnames.py
@@ -850,6 +850,12 @@ LARGE_OBJECT_NEXT = _("Goes to next large object.")
 LARGE_OBJECT_LIST = _("Displays a list of large objects.")
 
 # Translators: this is for navigating among links in a document.
+LINK_PREV = _("Goes to previous link.")
+
+# Translators: this is for navigating among links in a document.
+LINK_NEXT = _("Goes to next link.")
+
+# Translators: this is for navigating among links in a document.
 LINK_LIST = _("Displays a list of links.")
 
 # Translators: this is for navigating among lists in a document.
diff --git a/src/orca/structural_navigation.py b/src/orca/structural_navigation.py
index 4562d2a..13c55ae 100644
--- a/src/orca/structural_navigation.py
+++ b/src/orca/structural_navigation.py
@@ -3576,6 +3576,12 @@ class StructuralNavigation:
         """
 
         bindings = {}
+        prevDesc = cmdnames.LINK_PREV
+        bindings["previous"] = ["k", settings.SHIFT_MODIFIER_MASK, prevDesc]
+
+        nextDesc = cmdnames.LINK_NEXT
+        bindings["next"] = ["k", settings.NO_MODIFIER_MASK, nextDesc]
+
         listDesc = cmdnames.LINK_LIST
         bindings["list"] = ["k", settings.SHIFT_ALT_MODIFIER_MASK, listDesc]
         return bindings


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