Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2006-04-21 20:35:02 (GMT)
committer Dan Williams <dcbw@redhat.com>2006-04-21 20:35:02 (GMT)
commitae31953c852c4ae8ba6b686d61a94c7dfd5b172c (patch)
tree8df406d2fa707e7c8b28c1262bf2462a983081fa /shell
parentf1efb436b08aa00c40fa8ab8918d2de9cbc12a4a (diff)
Revert my screwage or marcos changes due to mercurial not working like CVS and just having to be really, really different and obfuscated, because it like to do something that nothing else ever does and it's really, really, really getting on my nerves
Diffstat (limited to 'shell')
-rw-r--r--shell/example-activity/activity.py7
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)