From 193c2ed4cdc9034165bb14b99fa568ea9dfc0901 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 16 Jun 2006 23:33:16 -0400 Subject: [PATCH] Add get_id() function to match activity.Activity's get_id() function; sort-of interface --- sugar/shell/shell.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sugar/shell/shell.py b/sugar/shell/shell.py index 1628a663..b04baada 100755 --- a/sugar/shell/shell.py +++ b/sugar/shell/shell.py @@ -199,6 +199,13 @@ class ActivityHost(dbus.service.Object): del self def get_host_activity_id(self): + """Real function that the shell should use for getting the + activity's ID.""" + return self.activity_id + + def get_id(self): + """Interface-type function to match activity.Activity's + get_id() function.""" return self.activity_id def get_object_path(self):