Add docstring, missing import

This commit is contained in:
Marco Pesenti Gritti 2006-12-18 14:05:34 +01:00
parent 956256313a
commit ad31376488

View File

@ -25,6 +25,7 @@ import gobject
from sugar.presence.PresenceService import PresenceService from sugar.presence.PresenceService import PresenceService
from sugar import activity from sugar import activity
from sugar import env
import sugar.util import sugar.util
ACTIVITY_SERVICE_NAME = "org.laptop.Activity" ACTIVITY_SERVICE_NAME = "org.laptop.Activity"
@ -109,6 +110,7 @@ class Activity(gtk.Window):
return env.get_bundle_service_name() return env.get_bundle_service_name()
def get_default_type(self): def get_default_type(self):
"""Gets the type of the default activity network service"""
return activity.get_default_type(self.get_type()) return activity.get_default_type(self.get_type())
def get_shared(self): def get_shared(self):