diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-02-06 13:50:12 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-02-06 13:50:12 (GMT) |
commit | 687eec3da07ef38568a310b402149ef5a8f5ba51 (patch) | |
tree | 9b31cfdbb428ae199829e628a0be0f5888ff5487 /Speak.activity/chat.py | |
parent | 7d5905c18b02498c5904509859e6255a520e3cba (diff) |
Do not pronounce arrived messages in face mode
Diffstat (limited to 'Speak.activity/chat.py')
-rw-r--r-- | Speak.activity/chat.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Speak.activity/chat.py b/Speak.activity/chat.py index 3f4901b..a27d493 100644 --- a/Speak.activity/chat.py +++ b/Speak.activity/chat.py @@ -132,7 +132,8 @@ class Chat(hippo.Canvas): face.update(status) if text: self._chat.add_text(buddy, text) - face.say(text) + if self.props.window and self.props.window.is_visible(): + face.say(text) def farewell(self, buddy): i = self._buddies.get(buddy) |