diff options
author | Dan Williams <dcbw@localhost.localdomain> | 2006-09-28 19:51:40 (GMT) |
---|---|---|
committer | Dan Williams <dcbw@localhost.localdomain> | 2006-09-28 19:51:40 (GMT) |
commit | e95e6c2a4e9a721b03e7ba16f9f14d8f00750005 (patch) | |
tree | e2c678f3864b8e044084efa70e9014db4bce831c /sugar/chat | |
parent | ddef3947d4b642978e4c603db4a2d4e93939cea3 (diff) |
Import the PS correctly
Diffstat (limited to 'sugar/chat')
-rw-r--r-- | sugar/chat/Chat.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sugar/chat/Chat.py b/sugar/chat/Chat.py index 058cac5..ba370f8 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) |