From e95e6c2a4e9a721b03e7ba16f9f14d8f00750005 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 28 Sep 2006 15:51:40 -0400 Subject: [PATCH] Import the PS correctly --- sugar/chat/Chat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sugar/chat/Chat.py b/sugar/chat/Chat.py index 058cac52..ba370f85 100644 --- a/sugar/chat/Chat.py +++ b/sugar/chat/Chat.py @@ -14,7 +14,7 @@ import logging from sugar.chat.Emoticons import Emoticons from sugar.chat.ChatToolbar import ChatToolbar from sugar.chat.ChatEditor import ChatEditor -from sugar.presence.PresenceService import PresenceService +from sugar.presence import PresenceService import richtext PANGO_SCALE = 1024 # Where is this defined? @@ -29,7 +29,7 @@ class Chat(gtk.VBox): def __init__(self): gtk.VBox.__init__(self, False, 6) - self._pservice = PresenceService() + self._pservice = PresenceService.get_instance() self._stream_writer = None self.set_border_width(12)