orca r3799 - trunk/src/orca/scripts
- From: richb svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r3799 - trunk/src/orca/scripts
- Date: Wed, 2 Apr 2008 22:44:43 +0100 (BST)
Author: richb
Date: Wed Apr 2 22:44:43 2008
New Revision: 3799
URL: http://svn.gnome.org/viewvc/orca?rev=3799&view=rev
Log:
Further adjustment for bug #525656, so that we use the page tab to check
for the status messages. This will only work if there are page tabs (i.e.
the user is chatting in two or more conversations).
Modified:
trunk/src/orca/scripts/gaim.py
Modified: trunk/src/orca/scripts/gaim.py
==============================================================================
--- trunk/src/orca/scripts/gaim.py (original)
+++ trunk/src/orca/scripts/gaim.py Wed Apr 2 22:44:43 2008
@@ -800,17 +800,16 @@
if message and message[0] == "\n":
message = message[1:]
+ 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.endswith(_(" is typing...")) or \
- message.endswith(_(" has stopped typing")):
+ message.startswith(chatRoomName + " "):
return
- chatRoomName = self.getDisplayedText(chatRoomTab)
-
# 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]