[orca] Add structural navigation by link regardless of visited state
- From: Joanmarie Diggs <joanied src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [orca] Add structural navigation by link regardless of visited state
 
- Date: Wed, 19 Feb 2014 13:03:03 +0000 (UTC)
 
commit 2576cfde0cd3550a57e729e1103848173c5f0b61
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]