From a9f26a1faafd218933c8616965f7f595f2fef266 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 27 Apr 2007 12:05:17 +0200 Subject: [PATCH] Use the gtk entry --- shell/intro/intro.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shell/intro/intro.py b/shell/intro/intro.py index fefb0fc0..1d070da5 100644 --- a/shell/intro/intro.py +++ b/shell/intro/intro.py @@ -25,7 +25,6 @@ from ConfigParser import ConfigParser from sugar import env -from sugar.graphics import entry from sugar.graphics import units from sugar.graphics import font from sugar.graphics import color @@ -185,8 +184,9 @@ class EntryBox(hippo.CanvasBox, hippo.CanvasItem): self._label.props.font_desc = font.DEFAULT.get_pango_desc() self.append(self._label) - self._entry = entry.Entry() - self.append(self._entry) + self._entry = gtk.Entry() + entry_item = hippo.CanvasWidget(widget=self._entry) + self.append(entry_item) def get_text(self): return self._entry.props.text