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>2006-07-26 16:00:28 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-07-26 16:00:28 (GMT)
commitd778d45b13eb261d623d426097bf36bf6470a398 (patch)
tree3d59bdfaa215a27b33065b9dc75e6a03a6220ec6 /shell
parente1928878f9fd7bba493b10eacc726a470f531086 (diff)
Load the current page when joining an active.
Get back page sharing to work.
Diffstat (limited to 'shell')
-rw-r--r--shell/PresenceService/PresenceService.py2
-rwxr-xr-xshell/sugar-activity-factory4
2 files changed, 3 insertions, 3 deletions
diff --git a/shell/PresenceService/PresenceService.py b/shell/PresenceService/PresenceService.py
index 86377b8..f17e1c6 100644
--- a/shell/PresenceService/PresenceService.py
+++ b/shell/PresenceService/PresenceService.py
@@ -584,7 +584,7 @@ class PresenceService(object):
real_name = Service.compose_service_name(owner_nick, activity_id)
if address and type(address) != type(u""):
raise ValueError("address must be a unicode string.")
- if address == None or not len(address):
+ if address == None and stype.endswith('_udp'):
# Use random currently unassigned multicast address
address = u"232.%d.%d.%d" % (random.randint(0, 254), random.randint(1, 254),
random.randint(1, 254))
diff --git a/shell/sugar-activity-factory b/shell/sugar-activity-factory
index 1b42fbf..53789d4 100755
--- a/shell/sugar-activity-factory
+++ b/shell/sugar-activity-factory
@@ -12,8 +12,8 @@ from sugar import theme
theme.setup()
-lw = LogWriter(sys.argv[1])
-lw.start()
+#lw = LogWriter(sys.argv[1])
+#lw.start()
if len(sys.argv) == 4:
Activity.register_factory(sys.argv[1], sys.argv[2], sys.argv[3])