Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-04-13 19:41:19 (GMT)
committer Dan Williams <dcbw@redhat.com>2007-04-13 19:41:19 (GMT)
commit182de3af1cd0c9a54199a9bd26c054f14aa5c817 (patch)
tree5b71465dfb61d6353afbdf58f6985d857265457a /services
parent5015beaaa6fe21600398b7f9d66955a441f87f8e (diff)
Remove test code
Diffstat (limited to 'services')
-rw-r--r--services/presence/presenceservice.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/services/presence/presenceservice.py b/services/presence/presenceservice.py
index b848c82..9fa3483 100644
--- a/services/presence/presenceservice.py
+++ b/services/presence/presenceservice.py
@@ -159,20 +159,7 @@ class PresenceService(dbus.service.Object):
return None
activity.connect("validity-changed", self._activity_validity_changed_cb)
-
self._activities[activity_id] = activity
-
- # FIXME
- # Use values from the network
- #import random
- #names = ["Tommy", "Susie", "Jill", "Bryan", "Nathan", "Sophia", "Haley", "Jimmy"]
- #name = names[random.randint(0, len(names) - 1)]
- #activity.props.name = "Chat with %s" % name
- #activity.props.type = "org.laptop.Sugar.Chat"
- #from sugar.graphics import xocolor
- #color = xocolor.XoColor().to_string()
- #activity.props.color = color
-
return activity
def _remove_activity(self, activity):