From ad31376488836550a85e4d695fed9774981b3671 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 18 Dec 2006 14:05:34 +0100 Subject: [PATCH] Add docstring, missing import --- sugar/activity/Activity.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sugar/activity/Activity.py b/sugar/activity/Activity.py index df05b8ad..1c77c7b7 100644 --- a/sugar/activity/Activity.py +++ b/sugar/activity/Activity.py @@ -25,6 +25,7 @@ import gobject from sugar.presence.PresenceService import PresenceService from sugar import activity +from sugar import env import sugar.util ACTIVITY_SERVICE_NAME = "org.laptop.Activity" @@ -109,6 +110,7 @@ class Activity(gtk.Window): return env.get_bundle_service_name() def get_default_type(self): + """Gets the type of the default activity network service""" return activity.get_default_type(self.get_type()) def get_shared(self):