Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/activity.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-01-05 13:52:05 (GMT)
committer Aleksey Lim <alsroot@sugarlabs.org>2012-01-09 12:33:56 (GMT)
commit15f3fc574eefc5553f5d1b63dd06daab451ccc62 (patch)
tree5bb3e48db533df772ac22a4a8e5d7090a6ceec2a /activity.py
parent8336ba00cc5e2e200c6c7b677eeb09c4f18f3d6e (diff)
Remove use of hippo (1)
This patch remove the use of CanvasBox containers but does not support smiles and the links are managed by the standard gtk procedure. Smiles and links will be implemented in the next patch. Signed-by-off: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'activity.py')
-rw-r--r--activity.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/activity.py b/activity.py
index 7d239cc..18ce996 100644
--- a/activity.py
+++ b/activity.py
@@ -14,7 +14,6 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-import hippo
import gtk
import logging
import cjson
@@ -267,14 +266,12 @@ class Chat(activity.Activity):
self.entry = entry
self.chatbox = ChatBox()
- canvas = hippo.Canvas()
- canvas.set_root(self.chatbox)
hbox = gtk.HBox()
hbox.add(entry)
box = gtk.VBox(homogeneous=False)
- box.pack_start(canvas)
+ box.pack_start(self.chatbox)
box.pack_start(hbox, expand=False)
return box