From 33545aa0346a7216257e3af870da888926730d59 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 21 Apr 2006 20:25:34 +0000 Subject: Use activity.py --- (limited to 'shell') diff --git a/shell/example-activity/activity.py b/shell/example-activity/activity.py index 834e1b3..986a91d 100644 --- a/shell/example-activity/activity.py +++ b/shell/example-activity/activity.py @@ -60,7 +60,14 @@ class Activity(dbus.service.Object): def activity_get_gtk_plug(self): return self.__plug + + def activity_set_can_close(self, can_close): + self.__activity_object.set_can_close(can_close) + @dbus.service.method("com.redhat.Sugar.Activity", \ + in_signature="", \ + out_signature="") + def activity_set_tab_text(self, text): self.__activity_object.set_tab_text(text) -- cgit v0.9.1