Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/typingturtle.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2011-11-25 13:59:58 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2011-11-25 14:06:25 (GMT)
commit3d94d65dc2ea3042d1e105bd097878126921d18e (patch)
tree364e1b713ce60611aa512aa05b1ba89a50473b8e /typingturtle.py
parent49f8f957d54ee5f8dca902548e47333216beece2 (diff)
Remove use of deprecated presenceservice
Use sugar.profile instead Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'typingturtle.py')
-rwxr-xr-xtypingturtle.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/typingturtle.py b/typingturtle.py
index 38d7afc..ad6c6cb 100755
--- a/typingturtle.py
+++ b/typingturtle.py
@@ -35,8 +35,7 @@ import gobject, pygtk, gtk, pango
import sugar.activity.activity
from sugar.graphics import *
from sugar.graphics import toolbutton
-
-from sugar.presence import presenceservice
+from sugar import profile
OLD_TOOLBAR = False
try:
@@ -73,7 +72,7 @@ class TypingTurtle(sugar.activity.activity.Activity):
self.screens = []
self.screenbox = gtk.VBox()
- self.owner = presenceservice.get_instance().get_owner()
+ self.nick = profile.get_nick_name()
self.wordlist = []