Fix some typos

This commit is contained in:
Dan Williams 2006-06-19 21:24:24 -04:00
parent 7ba6033921
commit 5485a4f958
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ class GroupChat(Chat):
self._pservice.track_service_type(GroupChat.SERVICE_TYPE)
service = self._pservice.get_activity_service(activity, GroupChat.SERVICE_TYPE)
if service is not None:
self._service_appeared(self._pservice, None, service)
self._service_appeared_cb(self._pservice, None, service)
def _service_appeared_cb(self, pservice, buddy, service):
if service.get_activity_uid() == self._activity.get_id():

View File

@ -136,7 +136,7 @@ class PresenceService(gobject.GObject):
uid = activity.get_id()
if self._activity_services.has_key(uid):
services = self._activity_services[uid]
for service in services:
for (buddy, service) in services:
if service.get_type() == short_stype:
return service
return None