Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2007-04-27 10:05:17 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2007-04-27 10:05:17 (GMT)
commita9f26a1faafd218933c8616965f7f595f2fef266 (patch)
treed67bad48ed3c76de960480690243a775410b3555 /shell
parent1412b984e048f13dd55210692bd5cf380c416690 (diff)
Use the gtk entry
Diffstat (limited to 'shell')
-rw-r--r--shell/intro/intro.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/intro/intro.py b/shell/intro/intro.py
index fefb0fc..1d070da 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