diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2006-04-21 20:25:34 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2006-04-21 20:25:34 (GMT) |
commit | 33545aa0346a7216257e3af870da888926730d59 (patch) | |
tree | f23e660875737588a41064cc917a56016a3694db /shell | |
parent | b912e04ea465e0ebb0d57aef7fb31e0c67d7c730 (diff) |
Use activity.py
Diffstat (limited to 'shell')
-rw-r--r-- | shell/example-activity/activity.py | 7 |
1 files changed, 7 insertions, 0 deletions
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) |