summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk>2010-09-10 18:08:21 -0400
committerLouis-Francis Ratté-Boulianne <louis-francis.ratte-boulianne@collabora.co.uk>2010-09-10 18:08:21 -0400
commit0b69104b7f04a62cf3273c2b896fadb971c7b758 (patch)
treee9ed9f83a7ab9c75bcc1b48dea833ac40b9c80b4
parent870e011fc33c89f90c0b60313db3842449fb3f2f (diff)
Some more debug messages and typo fixes
-rw-r--r--butterfly/channel/media.py3
-rw-r--r--butterfly/channel/text.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/butterfly/channel/media.py b/butterfly/channel/media.py
index 3d37cb0..e18bb80 100644
--- a/butterfly/channel/media.py
+++ b/butterfly/channel/media.py
@@ -170,6 +170,7 @@ class ButterflyMediaChannel(
#papyon.event.call.CallEventInterface
def on_call_accepted(self):
+ logger.info("Call accepted")
self.on_call_answered(telepathy.MEDIA_STREAM_DIRECTION_BIDIRECTIONAL, 0)
#papyon.event.call.CallEventInterface
@@ -179,6 +180,8 @@ class ButterflyMediaChannel(
def on_call_answered(self, direction, pending_send):
for handler in self._session_handler.ListStreams():
handler.set_direction(direction, pending_send)
+ logger.info("Direction changed to %i, %i" % (direction,
+ pending_send))
self.StreamDirectionChanged(handler.id, direction, pending_send)
#papyon.event.call.CallEventInterface
diff --git a/butterfly/channel/text.py b/butterfly/channel/text.py
index d57437f..75fd6b6 100644
--- a/butterfly/channel/text.py
+++ b/butterfly/channel/text.py
@@ -126,7 +126,7 @@ class ButterflyTextChannel(
account, network_id)
def _send_typing_notification(self):
- # No need to emit ChatStateChanged in this method becuase it will not
+ # No need to emit ChatStateChanged in this method because it will not
# have changed from composing otherwise this source will have been
# removed.