Refactor a bit to keep host independent from the shell

This commit is contained in:
Marco Pesenti Gritti
2006-10-19 15:22:42 +02:00
parent cf13a7ff5b
commit cd29967c2e
3 changed files with 29 additions and 18 deletions
+2 -1
View File
@@ -63,4 +63,5 @@ class ActivityChat(GroupChat):
self._setup_stream(self._chat_service)
def _destroy_cb(self, widget):
self._pservice.unregister_service(self._chat_service)
if self._chat_service:
self._pservice.unregister_service(self._chat_service)