[orca] Fix for bgo#623897 - uppercase accented deleted in the	terminal are not spoken with the correct voic
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [orca] Fix for bgo#623897 - uppercase accented deleted in the	terminal are not spoken with the correct voic
- Date: Sat, 10 Jul 2010 00:15:13 +0000 (UTC)
commit 0497bbdc747e7e272a70f08833784d80ad31fa29
Author: José Vilmar Estácio de Souza <vilmar informal com br>
Date:   Tue Jul 6 09:22:15 2010 -0300
    Fix for bgo#623897 - uppercase accented deleted in the terminal are not spoken with the correct voice
 src/orca/scripts/apps/gnome-terminal/script.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/scripts/apps/gnome-terminal/script.py b/src/orca/scripts/apps/gnome-terminal/script.py
index d3f8488..760c5d2 100644
--- a/src/orca/scripts/apps/gnome-terminal/script.py
+++ b/src/orca/scripts/apps/gnome-terminal/script.py
@@ -149,8 +149,8 @@ class Script(default.Script):
 
         # Speak the character that has just been deleted.
         #
-        character = event.any_data.decode("UTF-8").encode("UTF-8")
-        if character.isupper():
+        character = event.any_data
+        if character.decode("UTF-8").isupper():
             voice = self.voices[settings.UPPERCASE_VOICE]
         else:
             voice = self.voices[settings.DEFAULT_VOICE]
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]