orca r3800 - in branches/gnome-2-22: . src/orca/scripts
- From: richb svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r3800 - in branches/gnome-2-22: . src/orca/scripts
- Date: Thu, 3 Apr 2008 16:49:22 +0100 (BST)
Author: richb
Date: Thu Apr 3 16:49:22 2008
New Revision: 3800
URL: http://svn.gnome.org/viewvc/orca?rev=3800&view=rev
Log:
* src/orca/scripts/gaim.py:
Fix for bug #525656 - Orca needs to handle the new Pidgin typing
status updates. This is a subset of the fix that went into the
Orca SVN trunk. It just hard-wires the ignoring of status messages.
Modified:
branches/gnome-2-22/ChangeLog
branches/gnome-2-22/src/orca/scripts/gaim.py
Modified: branches/gnome-2-22/src/orca/scripts/gaim.py
==============================================================================
--- branches/gnome-2-22/src/orca/scripts/gaim.py (original)
+++ branches/gnome-2-22/src/orca/scripts/gaim.py Thu Apr 3 16:49:22 2008
@@ -55,6 +55,10 @@
#
prefixChatMessage = False
+# Whether we announce when a buddy is typing.
+#
+announceBuddyTyping = False
+
# Possible ways of how Orca should speak pidgin chat messages.
#
SPEAK_ALL_MESSAGES = 0
@@ -759,6 +763,14 @@
chatRoomName = self.getDisplayedText(chatRoomTab)
+ # If the user doesn't want announcements for when their buddies
+ # are typing (or have stopped typing), and this is such a message,
+ # then just return.
+ #
+ if not announceBuddyTyping and \
+ message.startswith(chatRoomName + " "):
+ return
+
# If the new message came from the room with focus, we don't
# want to speak its name even if prefixChatMessage is enabled.
#
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]