[orca] Remove the hack for bug 677221 which was fixed awhile ago.
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Remove the hack for bug 677221 which was fixed awhile ago.
- Date: Sat, 16 Nov 2013 22:34:26 +0000 (UTC)
commit c079bcc0a38893c3a44f296546bcadce09020ffc
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sat Nov 16 17:33:59 2013 -0500
Remove the hack for bug 677221 which was fixed awhile ago.
src/orca/scripts/apps/gnome-shell/script.py | 21 ---------------------
1 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/src/orca/scripts/apps/gnome-shell/script.py b/src/orca/scripts/apps/gnome-shell/script.py
index f857354..942983f 100644
--- a/src/orca/scripts/apps/gnome-shell/script.py
+++ b/src/orca/scripts/apps/gnome-shell/script.py
@@ -189,24 +189,3 @@ class Script(clutter.Script):
self._activeDialogLabels[hash(label)] = label.name
clutter.Script.onFocusedChanged(self, event)
-
- def getTextLineAtCaret(self, obj, offset=None):
- """Gets the line of text where the caret is."""
-
- # TODO - JD/API: This is to work around the braille issue reported
- # in bgo 677221. When that is resolved, this workaround can be
- # removed.
- string, caretOffset, startOffset = \
- clutter.Script.getTextLineAtCaret(self, obj, offset)
-
- if string:
- return [string, caretOffset, startOffset]
-
- try:
- text = obj.queryText()
- except:
- pass
- else:
- string = text.getText(0, -1)
-
- return [string, caretOffset, startOffset]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]