diff options
-rw-r--r-- | activity.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/activity.py b/activity.py index dac1b26..6a54327 100644 --- a/activity.py +++ b/activity.py @@ -50,12 +50,12 @@ SMILIES_COLUMNS = 5 class Chat(activity.Activity): def __init__(self, handle): - super(Chat, self).__init__(handle) - smilies.init() + self.chatbox = ChatBox() + + super(Chat, self).__init__(handle) self.entry = None - self.chatbox = None root = self.make_root() self.set_canvas(root) @@ -267,8 +267,6 @@ class Chat(activity.Activity): entry.connect('key-press-event', self.entry_key_press_cb) self.entry = entry - self.chatbox = ChatBox() - hbox = gtk.HBox() hbox.add(entry) |